Developer forum

Forum » Development » Admin\common.asp is missing

Admin\common.asp is missing


Reply

I'm having trouble compiling the project. It seems a file is missing?




 




Error 5 Filen 'C:\dynamic\Application\Admin\common.asp' blev ikke fundet. C:\dynamic\Application\Admin\Access\Access_TreeView_old.aspx 214 






Also it complains about the asp-tags in the Default.aspx, since the form is missing?




Error 4 Unrecognized tag prefix or device filter 'asp'. C:\dynamic\CSharpClassicNew\CSharpClassicNew\CSharpClassic\Default.aspx 2 2 http://localhost/






Error 5 Unrecognized tag prefix or device filter 'asp'. C:\dynamic\CSharpClassicNew\CSharpClassicNew\CSharpClassic\Default.aspx 3 2 http://localhost/






Anybody had a simular problem?




 




I can run the website, but the backend is filled with error. There's no Navigation-menu, and Modules comes out with a null-pointer exception....


Replies

 
Nicolai Høeg Pedersen
Reply
msn wrote:


I'm having trouble compiling the project. It seems a file is missing?




Error 5 Filen 'C:\dynamic\Application\Admin\common.asp' blev ikke fundet. C:\dynamic\Application\Admin\Access\Access_TreeView_old.aspx 214 



Also it complains about the asp-tags in the Default.aspx, since the form is missing?




Error 4 Unrecognized tag prefix or device filter 'asp'. C:\dynamic\CSharpClassicNew\CSharpClassicNew\CSharpClassic\Default.aspx 2 2 http://localhost/



Error 5 Unrecognized tag prefix or device filter 'asp'. C:\dynamic\CSharpClassicNew\CSharpClassicNew\CSharpClassic\Default.aspx 3 2 http://localhost/



Anybody had a simular problem?




I can run the website, but the backend is filled with error. There's no Navigation-menu, and Modules comes out with a null-pointer exception....





Hi Martin


 


It seems like you are doing something wrong... When you are compiling you should not compile Admin\Access\Access_TreeView_old.aspx since its part of the administration which you do not need to compile.


 


Dynamicweb/Dynamicweb.net/Application --> This is Standard Dynamicweb. Contains the /Admin folder and so on.


 


Dynamicweb/CsharpClassic --> contains your Visual Studio Project - this is what you build.


 


Dynamicweb/Files --> Contains the files for the website.


 


Dynamicweb/Database --> Contains the access databases for the project if that is what you are running on.


 

 
Reply

That might be right. But when I add the virtual folders required, the folders are placed in the project. So how do I compile only the C# project - and exclude the others?


 


I'm running it as the default website on a Windows XP platform, where the home folder points to /CSharpNew/CSharpClassic

 
Nicolai Høeg Pedersen
Reply
msn wrote:


That might be right. But when I add the virtual folders required, the folders are placed in the project. So how do I compile only the C# project - and exclude the others?




 




I'm running it as the default website on a Windows XP platform, where the home folder points to /CSharpNew/CSharpClassic





If you create a virtual directory all of the files in those directories are not places inside CSharpClassic and therefore not build?


 


Could you mail me a screen dump of your folder structure and IIS setup at np(at)dynamicweb.dk.


 


Thanks.

 
Reply

Hi Nicolai


 


Did you recieve my screendumps?

 
Reply

Hi Martin


I had the same error before


 


Could you please check your CSharpClassic.sln file and verify that you have this info:


 


"http://localhost/CSharpClassic.csproj"


 


If you do not enter "/CSharpClassic.csproj" after localhost then the solution tries to build everything on the localhost root.


 


 


Kind regards,


Thami


 


 

 

You must be logged in to post in the forum