Installation troubles Options
Nicsam
Posted: Thursday, August 30, 2007 8:57:07 AM
Rank: Newbie

Joined: 8/30/2007
Posts: 1
I'm new to umbraco and i have problems in installing the same.
I have the downloaded v302 and followed the steps.
When i tried to run the application in Visual Web Developer 2005 edition,
i'm getting the error "Could not create type 'umbraco.webservices.NodeService ".
Can anyone fix my problem
ted
Posted: Saturday, September 01, 2007 7:41:35 PM
Rank: Newbie

Joined: 9/1/2007
Posts: 4
Nicsam wrote:

i'm getting the error "Could not create type 'umbraco.webservices.NodeService ".


I'm experiencing the same thing. First I had problems with ImageManipulation.dll, but that was due to the network share not being fully trusted. When I try to run Umbraco directly through Visual Studio 2005 (to debug and step through code etc) I get the aforementioned error message.

Appreciate any help! :)


daniel_l
Posted: Saturday, September 01, 2007 10:14:02 PM
Rank: Aficionado

Joined: 6/25/2007
Posts: 146
Location: Malmo, Sweden
Ted wrote:
When I try to run Umbraco directly through Visual Studio 2005 (to debug and step through code etc)


Do you get umbraco to run without errors under IIS, in root folder, without VS involved?

Normally you should not have to run umbraco in VS, unless you want to step through the actual umbraco source code.

When I create usercontrols or actionhandlers to use in umbraco I normally create them in separate VS projects.

Actionhandlers I create in a separate Class Library project.
In the Build Event tab in the properties for my actionhandler project I put a Post-build event command line command:

xcopy /Y /S /F "$(TargetPath)" "C:\Inetpub\[WebsiteRunningUmbraco]\bin"

That way when I build the action handler the dlls get automatically copied to the web site bin folder and can be used.

Set your breakpoints and then 'Debug-Attach to process' w3wp.exe (IIS 6.0).

Now you can debug your action handler while keeping it in a seperate project from the web site.

For user controls I create a web application project, and create a virtual folder under the umbraco site in IIS that points to the folder with the aspx and aspx.cs files of the user controls. Wrap the usercontrols in macros and use them within umbraco. Then set your break points in the usercontrolcode and 'Debug-Attach to process' to process as above.

Is it me or umbraco? Umbraco Certified Professional Level 2.
daniel_l
Posted: Saturday, September 01, 2007 10:24:20 PM
Rank: Aficionado

Joined: 6/25/2007
Posts: 146
Location: Malmo, Sweden
Daniel Lindström wrote:

For user controls I create a web application project, and create a virtual folder under the umbraco site in IIS that points to the folder with the aspx and aspx.cs files of the user controls. Wrap the usercontrols in macros and use them within umbraco. Then set your break points in the usercontrolcode and 'Debug-Attach to process' to process as above.


I forgot to mention that I have noticed that the web user controls accessed through virtual folders (for example /usercontrols/myVirtualFolder) does not seem to automatically show up in the user control drop down list of macros in umbraco. But if you type the path manually you can still use the user control.

Another option would of course be to copy the user control files to the umbraco site rather than set up a virtual folder. Or maybe set up your VS project so that the user control files are stored below the IIS web root, but I haven't actually tried the latter.


Is it me or umbraco? Umbraco Certified Professional Level 2.
Solburn
Posted: Friday, February 01, 2008 4:15:07 PM
Rank: Newbie

Joined: 2/1/2008
Posts: 1
Nicsam wrote:

I'm new to umbraco and i have problems in installing the same.
I have the downloaded v302 and followed the steps.
When i tried to run the application in Visual Web Developer 2005 edition,
i'm getting the error "Could not create type 'umbraco.webservices.NodeService ".
Can anyone fix my problem


Same thing for me. Has anyone solved this issue? Thanks.
Rdunzl
Posted: Sunday, March 30, 2008 6:48:35 AM

Rank: Newbie

Joined: 3/22/2008
Posts: 15
Location: Denmark
Am I missing a place where this has been explained?

I think this one is the answer for this problem, but in the case of the NodeService the problem seems not to be that it's pointing to a wrong namespace but rather that there is no NodeService codebehind to be found in the umbraco.webservice.dll or any other dll.

If this is correct, you can solve the problem easily simply by excluding the NodeService.asmx file and then the project will build ok.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.