Developer forum

Forum » Development » CustomModulesCsharp and VS2008

CustomModulesCsharp and VS2008


Reply

 

Hi all,
 
I'm new to building custom modules in DynamicWeb. I use visual studio 2008.
The sample solution 'CustomModulesCsharp' is placed in the root of the website.
When running the solution I get the follwing error:
 
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\DynamicWebProjects\DPwebsite\CustomModulesCsharp\Files\GlobalSettings.aspx'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at Dynamicweb.GlobalsettingsConverter.RunConverter() at Dynamicweb.GlobalsettingsConverter..ctor() at Dynamicweb.Admin.Global.Application_Start(Object sender, EventArgs e)
Could not convert Globalsettings.xml/aspx

 

The root of my site is: 'C:\DynamicWebProjects\DPwebsite'

 

I suppose it has something to do with configuration. But what?

How must we configure visual studio 2008 in combination with the installed dynamicweb site in IIS?


Replies

 
Reply

You probably forgot to map a virtual directory for the "Filer" folder in IIS. Please read the "SDK - Solution Installation" available here: http://documentation.dynamicweb.dk/Development-23323.aspx

 

You must be logged in to post in the forum