Infrastructure Map Server General

Reply
Member
Posts: 4
Registered: ‎02-19-2013
Message 1 of 2 (500 Views)

ManagedMC3 Error

500 Views, 1 Replies
02-19-2013 11:39 PM

Hi everyone;
I want to make a simple application about MapGuide 

 string webLayout = "Library://SheBoyganPublic/WebLayouts/Test.WebLayout";
        string defaultUser = "Anonymous";
        string defaultPassword = "";
        string sessionId = "";
        
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                MgUserInformation userInfo = new MgUserInformation(defaultUser, defaultPassword);
                MgSite site = new MgSite();
                site.Open(userInfo);
                sessionId = site.CreateSession();
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }

        }

I copied sample code from Setup Folder, Then I add all OsGeo dll's then published under IIS 
when I open published page I get error like following text 
My IDE Visual Studio 2010 Supports x64, AutoDesk Infrasracture Map 64 bit and IIS application pool supports 64 bit application I set to false 32 bit application compatibility from IIS, my IIs versiyon 7

 

How do I run this code, My AutoDesk Infrasracture Server is Trial

ERROR TEXT :
'ManagedMC3' file, or the compilation or one of its dependencies. Strong name signature could not be verified. The file, or the file can be played on the delay signed but not the correct private key can be fully signed. (Exception from HRESULT is returned: 0x80131045)



Member
Posts: 4
Registered: ‎02-19-2013
Message 2 of 2 (469 Views)

Re: ManagedMC3 Error

02-20-2013 01:17 AM in reply to: AliKara1

I fixed  this error with adding InitializeWebTier method before codes

thanks

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community