Web Services - Another Instance

E

Eric

I am following Lab 09 and I am testing the Web Service that I created, and
this is what I am getting;

To test the Web service ReceiveDataSet method
1.. On the Debug menu, click Start.
A Web page called Service1 Web Service opens in your Web browser



When I Click Start, I get this web page (What am I doing wrong?)



Server Error in '/WebService1' Application.
--------------------------------------------------------------------------------

Debugging is not supported under current trust level settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Debugging is not supported
under current trust level settings.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Debugging is not supported under current trust
level settings.]
System.Web.HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel
level, String errorMessageId)
System.Web.UI.TemplateParser.HandlePostParse()
System.Web.UI.TemplateParser.Parse()
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +219
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
System.Web.UI.TemplateParser.GetParserCacheItem() +99
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
+43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
 
E

Eric

Windows Sharepoint Services

Is there special things I need to do to ensure that this works?

Thanks,
Eric
Henning Krause said:
Hello,

do you have Sharepoint Portal Services or Windows Sharepoint Services
installed on the machine hosting the webservice?

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


Eric said:
I am following Lab 09 and I am testing the Web Service that I created, and
this is what I am getting;

To test the Web service ReceiveDataSet method
1.. On the Debug menu, click Start.
A Web page called Service1 Web Service opens in your Web browser



When I Click Start, I get this web page (What am I doing wrong?)



Server Error in '/WebService1' Application.
--------------------------------------------------------------------------------

Debugging is not supported under current trust level settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Debugging is not supported
under current trust level settings.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Debugging is not supported under current
trust level settings.]

System.Web.HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel
level, String errorMessageId)
System.Web.UI.TemplateParser.HandlePostParse()
System.Web.UI.TemplateParser.Parse()
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +219
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
System.Web.UI.TemplateParser.GetParserCacheItem() +99
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
System.Web.HttpApplicationFactory.CompileApplication(HttpContext
context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+414
 
H

Henning Krause [MVP - Exhange]

Hello,

Windows sharepoint service install a special version of the FrontPage Server
Extensions and additionaly modify the security policy. Inside the Windows
Sharepoint Services Configuration there is a setting called "excluded
paths". You must add your virtual directory to this list.

Another option (more clean) is to create a new Website on another port and
install the webservice there.

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


Eric said:
Windows Sharepoint Services

Is there special things I need to do to ensure that this works?

Thanks,
Eric
Henning Krause said:
Hello,

do you have Sharepoint Portal Services or Windows Sharepoint Services
installed on the machine hosting the webservice?

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


Eric said:
I am following Lab 09 and I am testing the Web Service that I created,
and this is what I am getting;

To test the Web service ReceiveDataSet method
1.. On the Debug menu, click Start.
A Web page called Service1 Web Service opens in your Web browser



When I Click Start, I get this web page (What am I doing wrong?)



Server Error in '/WebService1' Application.
--------------------------------------------------------------------------------

Debugging is not supported under current trust level settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Debugging is not supported
under current trust level settings.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Debugging is not supported under current
trust level settings.]

System.Web.HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel
level, String errorMessageId)
System.Web.UI.TemplateParser.HandlePostParse()
System.Web.UI.TemplateParser.Parse()
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +219
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
System.Web.UI.TemplateParser.GetParserCacheItem() +99
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
System.Web.HttpApplicationFactory.CompileApplication(HttpContext
context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+414
 
E

Eric

Thanks for that insight,

I excluded that path from my administration console in SharePoint Services,
reset iis, and recompiled and debugged the webservice, and am still getting
the same error....

I created a new web site, by using another port, and it seems to be working
as expected, thanks for the help!!!

Eric

Henning Krause said:
Hello,

Windows sharepoint service install a special version of the FrontPage
Server Extensions and additionaly modify the security policy. Inside the
Windows Sharepoint Services Configuration there is a setting called
"excluded paths". You must add your virtual directory to this list.

Another option (more clean) is to create a new Website on another port and
install the webservice there.

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


Eric said:
Windows Sharepoint Services

Is there special things I need to do to ensure that this works?

Thanks,
Eric
Henning Krause said:
Hello,

do you have Sharepoint Portal Services or Windows Sharepoint Services
installed on the machine hosting the webservice?

Greetings,
Henning Krause [MVP - Exchange]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


I am following Lab 09 and I am testing the Web Service that I created,
and this is what I am getting;

To test the Web service ReceiveDataSet method
1.. On the Debug menu, click Start.
A Web page called Service1 Web Service opens in your Web browser



When I Click Start, I get this web page (What am I doing wrong?)



Server Error in '/WebService1' Application.
--------------------------------------------------------------------------------

Debugging is not supported under current trust level settings.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Debugging is not supported
under current trust level settings.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Debugging is not supported under current
trust level settings.]

System.Web.HttpRuntime.CheckAspNetHostingPermission(AspNetHostingPermissionLevel
level, String errorMessageId)
System.Web.UI.TemplateParser.HandlePostParse()
System.Web.UI.TemplateParser.Parse()
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) +219
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
System.Web.UI.TemplateParser.GetParserCacheItem() +99
System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
System.Web.HttpApplicationFactory.CompileApplication(HttpContext
context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +485
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+414
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top