Developer forum

Forum » Development » Newbie setup problems

Newbie setup problems


Reply

Hi there!


 


I've tried setting up dynamicweb on my own machine to start developing custom modules, but I keep getting some irritating error messages!


 


I've downloaded the files "CustomModules.dynamicsystems.zip", "Application.zip" and

"7001_(en-US)_SDK_-_Solution_Installation.pdf" from "Download - Software" and then I tried to do exactly what was described in the PDF!


 


The "only" thing I couldn’t do was using VS2003. I used VS2005 to compile instead. To do this I had to convert the project first.




After doing this and not getting any errors I thought everything was all right but...


 


...when accessing the root of the site I get the following error (screenshot): http://www.imachine.dk/screenshots/err_root.jpg


 


...when accessing the admin I get the following error (screenshot): http://www.imachine.dk/screenshots/err_admin.jpg


 


Here is a screenshot of my setup in IIS: http://www.imachine.dk/screenshots/iis_setup.jpg


 


Can anybody help me? I have participated in a solution partner seminar, but it just wasn’t enough.


 


Kind regards,


 


Martin


Replies

 
Reply

You should try downloading the DefaultEmptyData.zip, Application.zip and VBClassic.zip. Please check out this article for information on the files:


 


http://www.dynamicweb.dk/default.aspx?id=16918&action=ShowArticle&ArticleID=51


 


The screen dump you supplied tells med that your admin folder is set up as an IIS application, and that's probably why you get this error in admin.


 


Hope this helps.

 
Reply


Thanks for helping so far!




I've now made a new installation using only the files you mention, and they are fresh downloads.




After setting up IIS I changed "VBClassic.sln" like changing "CustomModules.sln" as written in the PDF!




Then I tried to compile the project in VS05. VS05 said that it was an old project and that conversion was needed, so I started the conversion. In the end VS05 concluded that no conversion was needed anyway. This I could tell from the conversion report.




When I finally could press "build" it failed with this screen: http://www.imachine.dk/screenshots/vs05_compile_err.jpg




It says it can't find common.asp! I've tried to search the three zip to find it but couldn't.




Here you can se how the structure in IIS is with the new setup:  http://www.imachine.dk/screenshots/iis2.jpg




Without compiling I get the following screen when trying to access site and admin:  http://www.imachine.dk/screenshots/no_permission.jpg. What permissions do I need to setup?




/Martin











Sorensen wrote:








You should try downloading the DefaultEmptyData.zip, Application.zip and VBClassic.zip. Please check out this article for information on the files:








 








http://www.dynamicweb.dk/default.aspx?id=16918&action=ShowArticle&ArticleID=51








 








The screen dump you supplied tells med that your admin folder is set up as an IIS application, and that's probably why you get this error in admin.








 








Hope this helps.





 
Reply

I have no idea why it needs the common.asp to compile?!? If you can locate the file in the solution explorer, exclude it and try compiling again.

 
Reply

Just took another look at your screen dump. Are you accessing the solution remotely with eg. Frontpage extentions? Your solution should not display the Admin folder, but what's in the CustomModules/Application folder.

 
Reply

Now it begins to work, but only partially! The directory permissions (for user:IUSR_***) in windows was not set for all the files.




Now i don't get a login and there is no username to the top left! (i guess i'm automatically logged in as some kind of user)




I can load and save options for "Generelt" and "System" but can't create pages,areas and administrate modules!




What's missing!

 
Reply

I've received another reporting about this problem and it seems to be a configuration issue on the server. I haven't yet been able to reproduce the problem on other solutions, but we're still investigating the problem.


 


However, to be able to log on correctly try typing this adress:


 


http://yoursolution/Admin/access/default.aspx

 
Reply

Your local ASPNET user must have write permissions on the Database and Files folder including subfolders.

 
Reply

Sorry, Martin, I accidently typed my answer into you posting. By it should do the trick.

 
Reply

It's all right! I didn't notice it and as long as it did the trick I'm happy! I thought all settings that could be set was set, but nooo! After doing like you said it all works! Thankyou very much!


 


/Martin

 
Reply

And as for the login problem... Just discovered some code was missing from the Global.asax.vb file that performs the validation. If you add this, your admin validation should perform correctly:


 


Sub Application_OnPreRequestHandlerExecute(ByVal sender As Object, ByVal e As EventArgs)


GlobalAsax.Application_OnPreRequestHandlerExecute(sender, e)


End Sub


 


For others having the same problem, I've uploaded a new VBClassic.zip file to the Downloads section of this site.

 

You must be logged in to post in the forum