Access Guid verification is failing when we try to sync/test TDS.
We tried below steps for fixing this issue:
Deleted obj folder.
Verified to make sure that Access Guid is same across all TDS projects in solutions.
Replaced _DEV folder with another developer for whom it was working.
Access Guid was same as in web.config in _DEV folder.
Restarted Visual Studio.
Visual Studio had valid TDS license.
But still issue remains same.
Any ideas or suggestions for resolving this issue will be helpful.
I had the same issue and resolved it by deleting the _DEV folder in my website root which allowed TDS to reinstall the connector.
Related
I inherited a Windows Forms Application (.NET Framework 4) that uses ClickOnce for installation. Everything is working perfectly except I cannot seem to set the default installation path. Currently it gets installed to:
%appdata%\Local\Apps\2.0\xxx
where xxx is some randomly created path. This is causing problems with out virus scanner which is deactivating the program randomly. We cannot exclude the 2.0 directory from scanning as other programs that are not under our control also install to this folder.
I found this online:
https://social.msdn.microsoft.com/Forums/en-US/c6e3d328-1deb-49c9-99cf-98fe3830702a/where-does-clickonce-put-files?forum=winformssetup
where it states that I can set:
System.Deployment.Application.ApplicationDeployment.CurrentDeployment.DataDirectory
to set the data directory -> which might set the program directory as well?
I just cannot seem to find where I can set this path - Any ideas? I have never used ClickOnce before (and am new to Visual Studio) so please give me clear instructions.
Thanking you in advance
see comment:
The data directory is where data files, e.g. MDF and MDB files, get stored. You can't set the install location of a ClickOnce app. They get installed to the ClickOnce cache, which is what makes them ClickOnce apps. – jmcilhinney
Okay I have created my project in Visual Studio 2012 express edition. I have used ClickOnce Application deployment to create a setup file. Everything works absolutely fine when i run the project in my computer. But when i install the same project in another computer database connections are not working saying path is not correct. I understand that the path given to connect to the database is of my system. Now that is my problem and what should i do to make the database stuff to work in other systems as well? Please help me as this would make my project complete!
Thanks in advance.
Generally the application would be deployed with an app/web.config. Or another configuration file. Your code then reads the connection string out of this file to find the database.
On deployment, you can change the config file after deployment, this can be done manually, or in IIS if its a web config file, not sure on automatic editing with click once deployments; but a config file or setting of some kind would be key.
I've just published (via GitHub) a VB.NET Azure Website that works fine on local machines but not on Azure:
Compiler Error Message: BC30451: 'Newtonsoft' is not declared. It may
be inaccessible due to its protection level.
Dim category As Category = Newtonsoft.Json.JsonConvert.DeserializeObject(Of Category)(json)
The Newtonsoft.Json package is installed via NuGet: Newtonsoft.Json.5.0.5.
It's the only 3rd party dll in the project right now.
I used the Azure ftp access to browse to /site/wwwroot/ and noticed that there is no /bin directory.
Now, my .gitignore excludes [Bb]in and [Oo]bj folders, but it's the same .gitignore I've used successfully with c# projects and always assumed that Azure just fetches the missing nuget dlls from /packages.
This is my first VB.NET > GitHub > Azure Websites deployment. What have I missed?
edit: I can confirm that if I upload /Bin/Newtonsoft.Json.dll via Azure ftp the site works. Or at least it will until it's re-imaged...
Sounds like you've not enable "NuGet Package Restore".
By doing so this creates a .nuget folder at the root of your solution and a packages.config file in the application that the build process in Azure will pick up and load the required references from.
Right click on the solution and it should be an option in there.
I am using Windows 8 Pro, Visual Studio 2012 and AnkhSVN.
The problem is: when I update my solution using SVN, Windows, AnkhSVN, VS or anything else changes the permission of that file. So when I run the project I get permission denied.
I am working on an ASP.NET MVC3 project and using the local IIS 8 as my server.
I've researched and solved the problem by giving permission for my local users. But I don't want to do that for every time I update my solution.
What could be done to solve this problem?
Thanks.
First suggestion:
You should try set permission for parent folder of the folder where you have SVN enlistment. Then all folders / files should inherit permissions from parent folder.
Second suggestion:
Also you can try to change User for your Application Pool, so it will be launched by your user. It is not good for security, but if this is only for your dev box, this should work.
Apologies if this has been answered before.
Something happened to my VS2010 SP1 VB.NET environment. I have been successfully working on, compiling and publishing project A via ClickOnce for a while, and then tried to publish project B, and received the error:
Could not find file 'obj\Debug\Program.exe.manifest' in file microsoft.common.targets. When I look at the microsoft.common.targets file, i receive > 101 warnings.
The Help tells me its error MSBuild Error MSB3113.
Now ALL projects behave in the same way, including the one that I was publishing.
Things I have tried:
Create new project in new location. same error during publish.
I moved both projects to a different machine, and both publish without problem.
I reinstalled VS2010 from scratch into a different location on the problem machine, and the error re-appears (problem machine is Vista, ok one is Windows7 prof).
Tried every variation of deployment, unsigned, signed etc. All projects are in VB.NET and it is unclear how to turn off the manifest inclusion via the VS2010 settings. I have tried doing this via changing the project information in the .vbproj file to
<PropertyGroup>
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
without effect.
The project occasionally build successfully, but then fails to publish. The pattern to this I have not yet fully understood.
Any advice appreciated
Peter
It might be worthwhile to delete the current manifest, and the generate a new one per the instructions found here:
http://msdn.microsoft.com/en-us/library/ms766454.aspx
Or, alternatively,
http://msdn.microsoft.com/en-us/library/ms235229%28v=vs.80%29.aspx