[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

Webservice parser error.  Could not load type...

Asked by louisiana_blues in Microsoft Visual C#.Net, Microsoft Visual Basic.Net, Web Services and WCF

Tags: could, load, type, error, parser

Hello experts.

I have been working w/webservices for a while, and have figured this out before, but my environment in this situation is different, so I need an expert.

Here is the layout of my web application (that pertains to this issue):

192.168.0.152 (this is the IP address of my website in IIS)
/bin/
/company/webservices/classa/LCS_RequisitionData.asmx
/compan/webservices/classa/bin/
web.config

As you can see, I have a web application in the root (where the web.config file is), but I do not have a web.config file in my webservice root, which is in fact a subdirectory off of my web root.

The name of my webservice file is:
LCS_RequisitionData.asmx

The name of the Class in my above file is:
RequisitionsData

My assembly name is:
WSRequisitions

In my .asmx file, I have the following:
<%@ WebService Language="VB" CodeBehind="LCS_RequisitionData.asmx.vb" Class="WSRequisitions.RequisitionsData" %>

I essentially copy the WSRequisitions.dll file from the webservice bin folder to the web app root /bin folder (I do this w/a build support project, but that's irrelevant, right?)

When I attempt to run my above webservice file as follows:

http://192.168.0.152/webservices/classa/LCS_RequisitionData.asmx

I get the following error:

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not create type 'WSRequisitions.RequisitionsData'.

Source Error:

Line 1:  <%@ WebService Language="VB" CodeBehind="LCS_RequisitionData.asmx.vb" Class="WSRequisitions.RequisitionsData" %>


The rest of the web app runs fine.  I do not have a web.config file in the webservice folder, because of the issues w/multiple web.config files in application subdirectories.

I believe I have to change my web.config file in some way, but I've tried numerous things and none worked.

Can an expert help me get this running?  I have looked at *each* of the other 'web parser error' questions here and on google, and none of them answer this question of what to do in a situation like this.

Obviously difficult question, so 500 big ones to the expert who can answer it... :)


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
 
Related Solutions
Keywords: Webservice parser error. Could not l…
 
Loading Advertisement...
 
[+][-]08/22/07 06:37 PM, ID: 19750977Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/23/07 07:56 AM, ID: 19754911Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/23/07 06:58 PM, ID: 19759289Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/23/07 11:29 PM, ID: 19946782Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Microsoft Visual C#.Net, Microsoft Visual Basic.Net, Web Services and WCF
Tags: could, load, type, error, parser
Sign Up Now!
Solution Provided By: louisiana_blues
Participating Experts: 1
Solution Grade: B
 
[+][-]10/11/09 03:50 PM, ID: 25547759Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 / EE_QW_1_20070628