?
Solved

adding runat="server" getting Parser Error Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Posted on 2004-11-04
1
Medium Priority
?
1,104 Views
Last Modified: 2012-08-13
I have added a vb activex to my asp.net C# app.

when I add the runat="server" I get Parser Error Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
 
html:
<OBJECT id="cboStaffName2" runat="server" classid="clsid:3BC38FE0-D0E5-4475-A3EE-B5C7FF60593A" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="7117">
<PARAM NAME="_ExtentY" VALUE="714">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="Text"  "">
<PARAM NAME="ForeColour" VALUE="-2147483640">
<PARAM NAME="BackColour" VALUE="-2147483643">
<PARAM NAME="FontHeight" VALUE="8.25">
</OBJECT>

C# code:

protected IMAWrapperAutoComboField.AutoComboFieldClass cboStaffName2;
.......
string s = "string1string2string3";
cboStaffName2.loadComboList(s);
0
Comment
Question by:rourkas1
1 Comment
 
LVL 4

Accepted Solution

by:
Pstry earned 500 total points
ID: 12502022
Remove 'clsid:' part to get rid off the error

Piotr
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question