Copied VS.NET project does not work!

pallavis

New Member
Hi,<BR><BR>I copied a VS.NET project over to a new server, using the "copy project" feature in VS.NET.<BR><BR>I made sure that the startup page was correct etc., but now I am getting the error message below when trying to open https://216.201.56.9/test1/formulier<BR>I am puzzled....<BR><BR>Server Error in '/test1' Application.<BR>--------------------------------------------------------------------------------<BR><BR>Configuration Error <BR>Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. <BR><BR>Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.<BR><BR>Source Error: <BR><BR><BR>Line 19: "Forms", "Passport" and "None"<BR>Line 20: --><BR>Line 21: <authentication mode="Windows" /><BR>Line 22: <!-- AUTHORIZATION <BR>Line 23: This section sets the authorization policies of the application. You can allow or deny access<BR> <BR><BR>Source File: E:WebsitesProost est1formulierweb.config Line: 21 <BR><BR><BR>--------------------------------------------------------------------------------<BR>Version Information: Runtime Build:1.0.2914.16; ASP.NET Build:1.4000.2914.16I had that error when I was trying to run from a directory UNDER my virtual directory and not a virtual directory itself. IN other words I was running http://localhost/virtDir/theProj/xxx.asp where virtDir was the IIS virtual directory. Once I made theProj it's own virtDir and references it as http://localhost/theProj/xxx.asp it worked.<BR><BR>Good luck!<BR>Deanna<BR>I had the same problem<BR>Was about to do a full reinstall<BR>One click and now it goes like a real one !!<BR>Thanks <BR>Zeg
 
Back
Top