BizTalk Server Orchestration - ASP.Net problem while posting xml to BTS 2K4

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2004 > ASP.Net problem while posting xml to BTS 2K4





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 ASP.Net problem while posting xml to BTS 2K4
Kaush

2004-06-30, 7:49 am

Hi Vikas

I am also facing the same problem while posting data through ASP.NET to BTS
Can you help? Thanks in advance.

here is the trace
[InvalidOperationException: Mutex could not be created.]
System.Web.Compilation.CompilationMutex..ctor(Boolean initialOwner, String name, String comment) +245
System.Web.Compilation.PreservedAssemblyEntry..cctor() +219

[TypeInitializationException: The type initializer for "System.Web.Compilation.PreservedAssemblyEntry" threw an exception.]
System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +0
System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context) +176
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +454

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +973
System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr) +128








"Vikas Nahata [MSFT]" wrote:

> It looks like there are some issues with your general ASP.NET
> configuration. Can you try to create any simple ASP .NET webservice and
> call it sucessfully? I think you will get the same error then. If not
> please let me know. Also the section is in the latest document drop which
> you need to download.
>
> The section can be found at:
> ms-help://BTS_2004/SDK/htm/ebiz_prog_webservices_lpfq.htm
>
>
> | >>Hi,
>
> Thanks for the quick reply. I guess I need more practice navigating the
> help, because I still can't find that section. I don't usually post before
> I RTFM.
>
> Anyway, I already tried this, and the next error I get is:
>
> [InvalidOperationException: Mutex could not be created.]
> System.Web.Compilation.CompilationMutex..ctor(Boolean initialOwner,
> String name, String comment) +245
> System.Web.Compilation.PreservedAssemblyEntry..cctor() +219
>
> [... rest of error message left out for brevity ]
>
> Just adding those minimum two (IIS_WPG and BizTalk Isolated Host Users
> groups) is not enough. From the other posts I have seen, most people are
> just making the user an administrator, which is excessive.
>
> Any thoughts on what I need to add to get rid of that Mutex problem?
>
> Thanks!
>
> EZB
>
>
> The secure and correct way of solving this issue is given in latest
> documentation under the section Enabling Biztalk Webservices. Below is
> snippet from the documentation which says what you need to do:
>
> The BizTalk Web Services Publishing Wizard automatically adds the
> application pool set for the parent Web site for the Web services that
> you
> publish. The default setting is DefaultAppPool. By default, this
> application pool runs under the Network Service security account. For
> a
> complete description of the Network Service security account and
> alternative accounts that you can use as the identity for the
> application
> pool, see the IIS documentation.
>
> You should create a new application pool to contain all your published
> Web
> services. Each time you create a Web service using the BizTalk Web
> Services
> Publishing Wizard, you must change the application pool to the
> previously
> added application pool.
>
> To add a new application pool in IIS Manager
>
> In IIS Manager, right-click Application Pool, click New, and then
> click
> Application Pool.
> In the Add New Application Pool dialog box, in Application pool ID
> text
> box, type a name for your application pool ID.
> In the Application pool settings group, select Use default settings
> for new
> application pool, and then click OK.
> To change the new application pool to run under a new identity
>
> In IIS Manager, right-click the application pool, and then click
> Properties.
> Click the Identity tab.
> In the Application pool identity group, select Configurable and in the
> User
> name text box, type a low-privilege local or domain account.
>
> Note For a description of the available built-in accounts and
> requirements
> for local or domain accounts, see the IIS documentation.
>
>
> Security You should use a local or domain account with minimal
> privileges
> for this identity. The easiest way to do this is to create a local
> account
> and verify that the only groups this account belongs to are the
> IIS_WPG and
> BizTalk Isolated Host Users groups.
>
> In the Password text box, type a password and click OK.
> In the Confirm Password dialog box, reenter password and click OK.
> Add the user to the BizTalk Isolated Host Users group.
> To move a Web service to a new application pool
>
> In IIS Manager, edit the properties for the virtual directory that the
> BizTalk Web Services Publishing Wizard created.
> Select the added application pool from the Application Pool drop-down
> list,
> and then click OK.
>
> Note You must restart Internet Information Services and BizTalk
> Server if
> you add a new application pool, change the identity of an existing
> application pool, or move a Web service to a new application pool.
>
>
> Hope this helps.
>
> | >>
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> EBusiness Server Team
>
>

Matt Milner

2004-06-30, 8:49 pm

Make sure the account that is running your web service has the rights it
needs to c:\[windir] (read and write) and
c:[windir]\microsoft.net\framework\vxxxx\temporary asp.net files

If you are on 2003, add the account to the IIS_WPG and then make sure that
group has the rights it needs to c:\windows\temp.

Matt


"Kaush" <Kaush@discussions.microsoft.com> wrote in message
news:7C079FF2-75F3-434C-B864-2B99C3FBF4F1@microsoft.com...
> Hi Vikas
>
> I am also facing the same problem while posting data through ASP.NET to

BTS
> Can you help? Thanks in advance.
>
> here is the trace
> [InvalidOperationException: Mutex could not be created.]
> System.Web.Compilation.CompilationMutex..ctor(Boolean initialOwner,

String name, String comment) +245
> System.Web.Compilation.PreservedAssemblyEntry..cctor() +219
>
> [TypeInitializationException: The type initializer for

"System.Web.Compilation.PreservedAssemblyEntry" threw an exception.]
>

System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContex
t context) +0
> System.Web.HttpRuntime.PreloadAssembliesFromBin(HttpContext context)

+176
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +454
>
> [HttpException (0x80004005): ASP.NET Initialization Error]
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +973
> System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr)

+128[vbcol=seagreen]
>
>
>
>
>
>
>
>
> "Vikas Nahata [MSFT]" wrote:
>
which[vbcol=seagreen]
before[vbcol=seagreen]
are[vbcol=seagreen]
is[vbcol=seagreen]
that[vbcol=seagreen]
For[vbcol=seagreen]
published[vbcol=seagreen]
the[vbcol=seagreen]
the[vbcol=seagreen]
drop-down[vbcol=seagreen]
rights.[vbcol=seagreen]


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com