473,320 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Parser Error - Could not create type?

I keep getting the following error on one of my web service pages:

Parser Error
Parser Error Message: Could not create type
'SyPixx.Web.ClearService.ConfigureAlarms'.

Source Error:
Line 1: <%@ WebService Language="vb" Codebehind="ConfigureAlarms.asmx.vb"
Class="SyPixx.Web.ClearService.ConfigureAlarms" %>

Currently I can't get past this. In the past if I rebuilt my application it
would go away then reapear on the same asmx page or a different one or even
the global.asax page. This can happen while running the asmx page in VS.NET
debugging or with IE. Does not seem to matter.

I thought something was wrong with VS.NET or my machine so I rebuilt my
machine, reinstalled VS.NET and it keeps happening.

Anyone have any ideas?

=====================
David McCarter
www.vsdntips.com
Nov 21 '05 #1
1 13346
Hi David,

You will need to break this down, as there isn't enough detail to go on
here.

Some questions:

Is this a web service?
Have you tried to place a break-point in the method that you think is
failing?
Is this failing when you compile it? Or when you call it?
Can you start the service in debug mode (e.g. debug/start with debugging)?
Do you get the automatic document page? Or does the error occur right here.

If it occurs immediately, there is an issue in the construction of the
class. This can be caused by bad code in your constructor, or by any logic
called by the constructor.

Some thoughts

Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Parser Error - Could not create type?
thread-index: AcTIHAlGSTv9tvXnSSaOPHFYgaMk4g==
X-WBNR-Posting-Host: 204.96.22.25
From: "=?Utf-8?B?ZG90TmV0RGF2ZQ==?=" <do********@discussions.microsoft.com>
Subject: Parser Error - Could not create type?
Date: Thu, 11 Nov 2004 10:27:01 -0800
Lines: 23
Message-ID: <AA**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7379
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

I keep getting the following error on one of my web service pages:

Parser Error
Parser Error Message: Could not create type
'SyPixx.Web.ClearService.ConfigureAlarms'.

Source Error:
Line 1: <%@ WebService Language="vb" Codebehind="ConfigureAlarms.asmx.vb"
Class="SyPixx.Web.ClearService.ConfigureAlarms" %>

Currently I can't get past this. In the past if I rebuilt my application it
would go away then reapear on the same asmx page or a different one or even
the global.asax page. This can happen while running the asmx page in
VS.NET
debugging or with IE. Does not seem to matter.

I thought something was wrong with VS.NET or my machine so I rebuilt my
machine, reinstalled VS.NET and it keeps happening.

Anyone have any ideas?

=====================
David McCarter
www.vsdntips.com

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tyson Zwicker | last post by:
Hi, I'm suddenly unable to run any ASP.net applications. Last week everything worked. But now (Mondays!) I get the same error from _every_ application I've written: Parser Error ...
2
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
2
by: Jerry Tovar | last post by:
I am using .net 2003. I am trying to create a C# ASP.Net webform. When I attempt to create a new ASP.Net project and place a label on my webform, build it and run the webform, I get the following...
2
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XP Pro using IIS. My IIS is configured to have it's root on our Network drive. I have been able to create ASP.Net webform up until now. For what ever reason, I am...
6
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
5
by: Kenneth P | last post by:
Hi, I get a Parser Error message when I try to start my asp.net app. Parser Error Message: Could not load type 'DiskoWeb.dLogin'. I have a code behind file and it's class name is dLogin. ...
2
by: Marshall | last post by:
Hi All, I am building an asp.net web app using Visual Studio 2003. Today I created a new folder called 'Secured' at the root of my web app so I could partition off all of the restricted...
0
by: Riga | last post by:
Hi guys, I'm trying to deploy a WebService on a server. Here's what I did so far: 1) Created a new website in IIS (on the port I want to use) 2) Shared that directory through windows so that I...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.