|
|
|
start date: Tue, 10 Jul 2007 12:48:03 -0700,
posted on: microsoft.public.dotnet.framework.adonet
back
| Thread Index |
|
1
Boyd
|
|
2
Boyd
|
deploying from vs.net 2005 vc++.net on vista to sql2005 on w2k
Hi,
I am using VS2005, using c++ to build a CLR DLL as an extended stored
procedure for an SQL2005 instance.
My VS2005 is running on Vista.
I built a dll using clr and am tring to use the "deploy" feature from the
list of options: BUILD, REBUILD, DEPLOY, CLEAN, ...
After some time I get an error message:
1>Deployment to database failed
1>Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
This does not tell me much.
Ok, Now what?
Date:Tue, 10 Jul 2007 12:48:03 -0700
Author:
|
RE: deploying from vs.net 2005 vc++.net on vista to sql2005 on w2k
Some background:
I created a "blank" project using the vs.net 2005 "sql server project".
New project doesn't do much - but builds and deploys ok.
I compared the build environments between the two projects. The one that
doesn't work has msvcmrt.lib mscoree.lib in the link library list.
If I take them out, I get :
error LNK2001: unresolved external symbol "?.cctor@@$$FYMXXZ"
(?.cctor@@$$FYMXXZ)
The project only uses rather unremarkable c++ lines, don't know why I need
the libraries, don't know why with the libraries it wont deploy!!!!!!!
I presume other libraries should be used but which ones?
> Hi,
> I am using VS2005, using c++ to build a CLR DLL as an extended stored
> procedure for an SQL2005 instance.
>
> My VS2005 is running on Vista.
>
> I built a dll using clr and am tring to use the "deploy" feature from the
> list of options: BUILD, REBUILD, DEPLOY, CLEAN, ...
>
>
> After some time I get an error message:
>
> 1>Deployment to database failed
> 1>Unverifiable code failed policy check. (Exception from HRESULT: 0x80131402)
> ========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
> ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
>
> This does not tell me much.
>
> Ok, Now what?
>
Date:Wed, 11 Jul 2007 14:28:03 -0700
Author:
|
|
|