Try our conversational search powered by Generative AI!

Unable to use debug in VS2008 Vista Epi 5 R2 project

Vote:
 

Hi

Just wont to check if some one have any ide why a cant use debug my CMS 5R2 project?

In other project it works fine, so it seems to be something regarding this project that will not work...

Have try the two diffrent settings in project settings

If a run Visual studio internal debug service a only get

"ClassFactoryException: ClassFactory not initialized" in Explorer

And if a try to the use Local IIS web server and pointing to the running site a get

A get the following error message in project settings when a try to save or click create virual directory

"Unable to create virtual directory. Could not found the server http://localhost:88 on the local machine creating virtual directory is only supported on local IIS Server"

Can also say that this is a project that is migrating from Epi 4.62 IIS 6 -->Epi5R2 IIS7 and that everything else seems to work fine

 

#27338
Jan 27, 2009 9:38
Vote:
 

I think that the IIS 7 web.config is incompatible with the webdev server, that is why you get the ClassFactoryException.

Make sure you create a site in IIS on any port and then point Visual Studio there. I set both "Project Url" and "Override application root URL" to http://localhost:17001 and the run without creating a virtual directory. Works fine.

 

#27398
Jan 28, 2009 12:33
Vote:
 

Hi,

 You should use the Attach to process instead of just using Debug. Then conect to the correct w3wp service on your computer if you have other sites up and running. It works great when we develop our websites like http://www.episerver.com and specially http://world.episerver.com

So, please try the Attach to process and connect to w3wp.exe

/Eric

#27408
Jan 29, 2009 11:28
Vote:
 

Ok thanks for the information,

I it will not work using the iis in project settings visual studio it only resett the settings if it can not create a virtual directory or say it is unable to create directory. Attach to process have a never heard off but a shall take a look at it.

/Per

#27453
Jan 30, 2009 11:33
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.