<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Guardant &mdash; Guardant и ASP .NET]]></title>
	<link rel="self" href="https://forum.guardant.ru/feed/atom/topic/138/" />
	<updated>2011-12-27T10:11:12Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.guardant.ru/topic/138/</id>
		<entry>
			<title type="html"><![CDATA[Re: Guardant и ASP .NET]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/622/#p622" />
			<content type="html"><![CDATA[<p>Здравствуйте.<br /></p><div class="quotebox"><cite>Casy пишет:</cite><blockquote><p>Здравствуйте!<br />У нас следующая ситуация: наше приложение на ASP .NET использует для защиты ключ Guardant Sign. На встроенном web сервере, все работает хорошо, приложение видит ключ. ОС Windows 7 64 bit.<br />Но при попытке установить приложение на сервер вылетает следующее исключение:<br />[BadImageFormatException: Была сделана попытка загрузить программу, имеющую неверный формат. (Исключение из HRESULT: 0x8007000B)]<br />   Guardant.Api32.GrdCRC(IntPtr Data, Int32 Lng, UInt32 PrevCRC) +0<br />   Guardant.Api32.GrdCRC(Int32 Data, UInt32 PrevCRC) +53<br />   Handler.GuardantLock.GrdCRC(UInt32 Data, Int32 DataLng, UInt32 PrevCRC) in C:\Users\Sergey\Documents\Visual Studio 2005\Projects\Administration\Handler\Guardant.cs:59<br />   Handler.GuardantLock.GetProtect() in C:\Users\Sergey\Documents\Visual Studio 2005\Projects\Administration\Handler\Guardant.cs:495<br />   _Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\maincps.casy.ru\Default.aspx.cs:22<br />   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25<br />   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42<br />   System.Web.UI.Control.OnLoad(EventArgs e) +132<br />   System.Web.UI.Control.LoadRecursive() +66<br />   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428<br />ОС сервера Windows Web Server 2008 64 bit. Что это может быть, и куда следует копать? Спасибо!</p></blockquote></div><p>Данное исключение может являться следствием того, что разрядность некоторых процессов не соответствует разрядности вызываемой .dll (GrdAPI32.DLL например), в данном случае, скорее всего,&nbsp; была попытка загрузить Guardant API&nbsp; другой разрядности.</p>]]></content>
			<author>
				<name><![CDATA[Антон Тихиенко]]></name>
				<uri>https://forum.guardant.ru/user/31/</uri>
			</author>
			<updated>2011-12-27T10:11:12Z</updated>
			<id>https://forum.guardant.ru/post/622/#p622</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Guardant и ASP .NET]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/621/#p621" />
			<content type="html"><![CDATA[<p>Здравствуйте!</p><p>У нас следующая ситуация: наше приложение на ASP .NET использует для защиты ключ Guardant Sign. На встроенном web сервере, все работает хорошо, приложение видит ключ. ОС Windows 7 64 bit.</p><p>Но при попытке установить приложение на сервер вылетает следующее исключение:<br />[BadImageFormatException: Была сделана попытка загрузить программу, имеющую неверный формат. (Исключение из HRESULT: 0x8007000B)]<br />&nbsp; &nbsp;Guardant.Api32.GrdCRC(IntPtr Data, Int32 Lng, UInt32 PrevCRC) +0<br />&nbsp; &nbsp;Guardant.Api32.GrdCRC(Int32 Data, UInt32 PrevCRC) +53<br />&nbsp; &nbsp;Handler.GuardantLock.GrdCRC(UInt32 Data, Int32 DataLng, UInt32 PrevCRC) in C:\Users\Sergey\Documents\Visual Studio 2005\Projects\Administration\Handler\Guardant.cs:59<br />&nbsp; &nbsp;Handler.GuardantLock.GetProtect() in C:\Users\Sergey\Documents\Visual Studio 2005\Projects\Administration\Handler\Guardant.cs:495<br />&nbsp; &nbsp;_Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\maincps.casy.ru\Default.aspx.cs:22<br />&nbsp; &nbsp;System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25<br />&nbsp; &nbsp;System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42<br />&nbsp; &nbsp;System.Web.UI.Control.OnLoad(EventArgs e) +132<br />&nbsp; &nbsp;System.Web.UI.Control.LoadRecursive() +66<br />&nbsp; &nbsp;System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428</p><p>ОС сервера Windows Web Server 2008 64 bit. Что это может быть, и куда следует копать? Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Casy]]></name>
				<uri>https://forum.guardant.ru/user/305/</uri>
			</author>
			<updated>2011-12-26T20:59:55Z</updated>
			<id>https://forum.guardant.ru/post/621/#p621</id>
		</entry>
</feed>
