BizTalk Server Tools - Load assembly error at Biztalk WS Publishing wizard

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > March 2005 > Load assembly error at Biztalk WS Publishing wizard





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Load assembly error at Biztalk WS Publishing wizard
Shirit

2005-03-23, 6:01 pm

I'm trying to publish a ws via biztalk wizard. The project's dlls are
at network folder (I;m working with StarTeam).
While selecting the schema dll (that contains the soap headers) I;m
getting the following error: "Unable to load assembly ......... The
type System.Xml.Schema.XmlSchema in assembly System.XML is not marked
as serializable.

While publishing it locally (when all the project's files are locally
in my machine ) it's working.

How can I handle it...????

Shiri

Joerg Fischer

2005-03-23, 6:01 pm

Hi,

This could be a .NET security issue. Assemblies loaded from external sources
(file share, not local file) have a lower security level (see code access
security model).

Visit your .NET security settings in your system configuration to further
resolve this issue.

Sincerely

Joerg Fischer

"Shirit" <Shirit@srl.co-dot-il.no-spam.invalid> wrote in message
news:fJKdnSVgWcha5tzfRVn_vA@giganews.com...
> I'm trying to publish a ws via biztalk wizard. The project's dlls are
> at network folder (I;m working with StarTeam).
> While selecting the schema dll (that contains the soap headers) I;m
> getting the following error: "Unable to load assembly ......... The
> type System.Xml.Schema.XmlSchema in assembly System.XML is not marked
> as serializable.
>
> While publishing it locally (when all the project's files are locally
> in my machine ) it's working.
>
> How can I handle it...????
>
> Shiri
>



Shirit

2005-03-23, 6:01 pm

I checked it, added "full trust" to all the assemblies, but that
handles the publishing exception - Unmanaged code, and not the
serializable one...
But to be more specific -
In my machine it doesn't work even localy, while at other machine it
works.

> Joerg Fischerwrote:

Hi,
>
> This could be a .NET security issue. Assemblies loaded from external

sources
> (file share, not local file) have a lower security level (see code

access
> security model).
>
> Visit your .NET security settings in your system configuration to

further
> resolve this issue.
>
> Sincerely
>
> Joerg Fischer
>
> "Shirit" <Shirit@srl.co-dot-il.no-spam.invalid> wrote in

message
> news:fJKdnSVgWcha5tzfRVn_vA@giganews.com...
> I'm trying to publish a ws via biztalk wizard. The project's dlls

are
> at network folder (I;m working with StarTeam).
> While selecting the schema dll (that contains the soap headers) I;m
> getting the following error: "Unable to load assembly ......... The
> type System.Xml.Schema.XmlSchema in assembly System.XML is not

marked
> as serializable.
>
> While publishing it locally (when all the project's files are

locally
> in my machine ) it's working.
>
> How can I handle it...????
>
> Shiri
> [/quote:8b02c33e81]


Shirit

2005-03-23, 6:01 pm

I checked it, added "full trust" to all the assemblies, but that
handles the publishing exception - Unmanaged code, and not the
serializable one...
But to be more specific -
In my machine it doesn't work even localy, while at other machine it
works.

Joerg Fischer

2005-03-24, 7:47 am

Hi,

Can you detail on how you want to publish the web service (orchestrations or
based on schemas?)

Sincerely

Joerg Fischer

"Shirit" <Shirit@srl.co-dot-il.no-spam.invalid> wrote in message
news:kdudnWmjKeHfcdzfRVn_vA@giganews.com...
> I checked it, added "full trust" to all the assemblies, but that
> handles the publishing exception - Unmanaged code, and not the
> serializable one...
> But to be more specific -
> In my machine it doesn't work even localy, while at other machine it
> works.
>
> Hi,
> sources
> access
> further
> message
> are
> marked
> locally
>



shirit

2005-03-24, 12:18 pm

Open the .Net Studio, and then the Biztalk Web Services Publish wizard, at the begining I select the project's assembly, check the 'add Soap Headers', and then trying to select to schemas assembly. While trying to load this dll I get the exception (Unable to load assembly ......... The type System.Xml.Schema.XmlSchema in assembly System.XML is not marked as serializable).

I did the same scenario at other 2 machines and it works.







quote:
Originally posted by Joerg Fischer
Hi,

Can you detail on how you want to publish the web service (orchestrations or
based on schemas?)

Sincerely

Joerg Fischer

"Shirit" <Shirit@srl.co-dot-il.no-spam.invalid> wrote in message
news:kdudnWmjKeHfcdzfRVn_vA@giganews.com...
> I checked it, added "full trust" to all the assemblies, but that
> handles the publishing exception - Unmanaged code, and not the
> serializable one...
> But to be more specific -
> In my machine it doesn't work even localy, while at other machine it
> works.
>
> Hi,
> sources
> access
> further
> message
> are
> marked
> locally
>

Matt Milner

2005-03-24, 8:47 pm

Do you have your schemas deployed into the GAC on the machine you are trying
to run this on?

Matt


"shirit" <shirit.1mf9p0@mail.webservertalk.com> wrote in message
news:shirit.1mf9p0@mail.webservertalk.com...
>
> Open the .Net Studio, and then the Biztalk Web Services Publish wizard,
> at the begining I select the project's assembly, check the 'add Soap
> Headers', and then trying to select to schemas assembly. While trying
> to load this dll I get the exception (Unable to load assembly .........
> The type System.Xml.Schema.XmlSchema in assembly System.XML is not
> marked as serializable).
>
> I did the same scenario at other 2 machines and it works.
>
>
>
>
>
>
>
> Joerg Fischer wrote:
>
>
>
> --
> shirit
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message967866.html
>



shirit

2005-03-27, 1:49 pm

Hi Matt,

I tried to compile the schemas project in my machine, and noticed it had problem with few namespaces (strange but I could compile it from other machine...), I rewrote the namespaces, compile and redeploy to BT.
That solved the proble... I could publish a ws.

Thank's for your reply.

Shiri Traum
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com