Cipher
Cipher

Reputation: 6082

Could not create type 'umbraco.webservices.documents.documentService'

I was trying to install CMS for my ASP.NET (Open source Umbraco). After the installation process, when I try to run the website, I get this error: Could not create type 'umbraco.webservices.documents.documentService'. E:\Users\Sarin\Documents\Visual Studio 2010\WebSites\WebSite20\umbraco\webservices\api\DocumentService.asmx

Here's the line from default.aspx which is showing this error.

<%@ WebService Language="C#" CodeBehind="DocumentService.asmx.cs" Class=umbraco.webservices.documents.documentService %>

Any suggestions?

Upvotes: 1

Views: 2591

Answers (2)

Dread Peter
Dread Peter

Reputation: 31

Change your build to "Build Page".

Right click the solution and select "Property Pages". Click "Build" in the left and change the "Before running startup page:" drop down to "Build Page."

Upvotes: 3

sebastiaan
sebastiaan

Reputation: 5917

It sounds a bit like you've downloaded the source code and are trying to build that. If you do not wish to start bugfixing on Umbraco, you should really just install the recommended download from codeplex.

The install procedure is still mostly the same as shown in the screencast I did a few months back.

Upvotes: 1

Related Questions