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
Last Modified: 2012-08-13
I have added a vb activex to my 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).
<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">

C# code:

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

    Accepted Solution

    Remove 'clsid:' part to get rid off the error


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Suggested Solutions

    Normally the drop down box control found in the .Net framework tools is able to select just one data and value at a time, which is displayed on the text area.   But what if you want to have multiple values to be selected in the drop down box? As …
    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now