Quantcast
Channel: Troubleshooting
Viewing all 1814 articles
Browse latest View live

Application pool stopped automatically when enable 32bit application

$
0
0

Hi friends,

I have a problem with iis aplication pool which enabled 32bit application(I'm using Oracle DataAccess Provider 32bit). Application pool stopped automatically when access this site 1st time(site response 503 service unavailable)

I check event viewer log, see this err message "Application pool 'XX' is being automatically disabled due to a series of failures in the process(es) serving that application pool."

After searching I think this issue related with user permission? I've changed new windows user account

I'm using windows 10 64bit, iis 10

So, is there anybody who met this issue? any suggestion how to fix it?

Many thanks


IIS 8.5: FileLoadError when starting a site that is working in another environment

$
0
0

Hello

I have a website that was working in my dev environment server. However, when I deployed to the test environment I keep getting a FileLoadError and the stack trace is not very helpful

Server Error in '/' Application.


Unhandled Execution Error

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileLoadException: 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 

[FileLoadException]
   System.ServiceModel.Activation.ServiceHttpModule.BeginProcessRequest(Object sender, EventArgs e, AsyncCallback cb, Object extraData) +0
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +12336350
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34274

The ASP.NET framework is registered as I can see the aspnet_client folder under the Default Web Site node on the IIS Server. Is there a way to debug this error better to see what is what is causing it?

Thanks,

UPDATE: I just found out that this is related to the account used to run the Application Pool. In dev it was set to AppPoolIdentity, but on test we are required to use a service account and it seems it does not have enough permissions. However, the message does not seem to indicate which permissions are needed.

Server 2012 r2 Essentials remote web access

$
0
0

Hi, for some time i have a problem with server 2012 r2 essentials (IIS 8.5) remote web access feature. When i try to authenticate through the pagehttps://<server>/remote i get the following error page. This happens only when correct login data is supplied, when some fake-data is entered no error occurs.

IIS 8.5 Error page

Eventviewer shows me the following error

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System><Provider Name="ASP.NET 4.0.30319.0" /> <EventID Qualifiers="32768">1309</EventID> <Level>3</Level> <Task>3</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2016-08-09T07:47:16.000000000Z" /> <EventRecordID>627082</EventRecordID> <Channel>Application</Channel> <Computer><server>.<domain>.local</Computer> <Security /> </System>
- <EventData><Data>3005</Data> <Data>Es ist eine unbehandelte Ausnahme aufgetreten.</Data> <Data>09.08.2016 09:47:16</Data> <Data>09.08.2016 07:47:16</Data> <Data>d46ea40e35ff46a39de5b443de29bad9</Data> <Data>32</Data> <Data>5</Data> <Data>0</Data> <Data>/LM/W3SVC/1/ROOT/Remote-1-131151515550545044</Data> <Data>Full</Data> <Data>/Remote</Data> <Data>C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\</Data> <Data><server></Data> <Data /> <Data>15676</Data> <Data>w3wp.exe</Data> <Data>NT-AUTORITÄT\Netzwerkdienst</Data> <Data>MissingMethodException</Data> <Data>
Methode nicht gefunden:
"Void System.Security.Claims.ClaimsIdentity..ctor(System.Security.Claims.ClaimsIdentity)".
bei System.Web.Security.FormsIdentity..ctor(FormsIdentity identity) bei System.Web.Security.FormsIdentity.Clone()
bei System.Security.Principal.GenericPrincipal.AddIdentityWithRoles(IIdentity identity, String[] roles)
bei System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e)
bei System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs)
bei System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
</Data> <Data>https://<server>:443/remote</Data> <Data>/remote</Data> <Data>178.79.134.249</Data> <Data /> <Data>False</Data> <Data /> <Data>NT-AUTORITÄT\Netzwerkdienst</Data> <Data>2376</Data> <Data>NT-AUTORITÄT\Netzwerkdienst</Data> <Data>False</Data> <Data>
bei System.Web.Security.FormsIdentity..ctor(FormsIdentity identity)
bei System.Web.Security.FormsIdentity.Clone()
bei System.Security.Principal.GenericPrincipal.AddIdentityWithRoles(IIdentity identity, String[] roles)
bei System.Web.Security.FormsAuthenticationModule.OnAuthenticate(FormsAuthenticationEventArgs e)
bei System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs)
bei System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
</Data> </EventData></Event>

I have enabled "failed request tracing" but no log was generated when this error occurs.

I've never used iis, so i'm new to its concepts, the iis manager is a mysterium to me ;-)

i have no clue where to start, the only idea i have is that some server role or feature is missing(Methode nicht gefunden/Method not found from eventviewer) , but if this is the case i dont' understand why, as it did work some time ago.
i have 5 of 9 iis security roles installed:

IIs Server Roles

and the following .NET features:

Server .NET features

As you might see, i have a german system and my english isn't too strong. Especially translating windows vocabulary like roles or features is tricky to me, so if something is unclear i'll try to translate in other words.

Thanks in advance

Holger

IIS Logging Greyed Out

$
0
0

Hi,

I am unable to change Logging settings in IIS. I need to add a custom field to the logs. I was able to do this before but now all the settings are greyed out.

Logging is enabled and the log does contain a different custom field. I also need to add these custom fields to a different server but that servers Logging settings is also greyed out.

Thank you,

Request hang on GENERAL_READ_ENTITY_START

$
0
0

In my website have many request hang on GENERAL_READ_ENTITY_START, i found this use "Failed request tracing" time taken 5s.

somebody know how to explain this and how to solve ? 

is about the client send to server slow? or this is the server problem?

Website issue

$
0
0

When an internal user types in our website, they will automatically be redirected to one of two pages. One is the IIS homepage the other is the dns name cannot be resolved. However, people off the domain can access the websites with ease. I checked the dns servers and everything seems to be in working order.

Creating a net.tcp only website in IIS7

$
0
0

We wanted to create a web service hosted in IIS7 that supports net.tcp only. However, it seems that unless we add an HTTP binding to the website, IIS always shows that the website is in unknown state. When this happens if we attempt to stop or restart the website, we get an error "The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)". the website, although in unknown state, seems to be responding to net.tcp calls (at least the port can be opened). We did some research on google and found that this is a common problem for other people, yet none of them have a solution.

Do anyone have an idea? Thanks.

IIS7.5 Windows 2008 R2 HTTP 503 and HTTP 404

$
0
0
We had a server with Windows 2008 Enterprise 64 bits with IIS 7.0 and the hard drive suffered a damage but we restored the backup in new hardware. Now after restored we decided to upgrade to Windows 2008 R2 Enterprise 64 bits then IIS 7.5 was installed. Now we have a problem with IIS 7.5 after the restore our backup none of our webpages work. For example if we enter http://127.0.0.1/index.html or localhost/index.html in browser we have 2 strange errors:

1.-HTTP Error 503. The service is unavailable. We use the DefaultAppPool and this error is shown if we have enabled in the advance settings the "enable 32 bits applications". And after this error is shown the DefaultAppPool stop automatic if we turn on again it stay running until you access again to any .html file. Now if we disable the "enable 32 bits applications" and we try to acces any .html file now we have this error:

2.-HTTP Error 404.0 - Not Found...the resource you are looking for has been removed, had its name changed, or is temporarily unavailable. In old Windows 2008 we had running with 32 buts application feature enabled and no problem at all anyway with or without not works.

Anyone have a clue of what could be happening with the upgraded IIS 7.5?

hai

PR

IIS and SSAS Connection

$
0
0

Hello,

i'm developed a wcf Service (C#) to host under iis 7.5. This Service should read Data from a SSAS(2005) and create Excel-files. Every thing works fine, but i can't connect from my wcf Service to SSAS. For the Connection the Adomdconnection is used. My connection string is working fine on a console Application, but on my wcf Service the "User ID and Password" from the connection string are not used. The Service used as User the Machinename and not the user from the connection string. My Knowledge of IIS is very restricted. The IIS and SSAS are running on different machines. Is this a Authentication Problem from the IIS? On the SSAS Server i have no access.

greeting Gerald

Sorry for my bad english.

Issues on IIS with timeouts from outside LAN

$
0
0

I have a content dashboard for various services that I use (PlexRequests, PlexPy, Plex, etc) which is basically a landing page with links.

Each service is accessible from outside my LAN when manually navigating to its port (I use a DDNS provider (no-ip) - so ****.DDNS.net:port) and works without issue that way.

When using the dashboard though (I've tried two different dashboards, both PHP-based), I start to see timeouts. The dashboard itself loads without too much issue, but once I try to use one of the links to navigate to a service it sits there for a few minutes and times out.

When accessing the dashboard over my LAN, it works without issue and I can hop from link to link quickly. The issue only occurs when coming in from the outside. All ports have been forwarded in my router, and I'm not using SSL.

Any thoughts? Is there something on the IIS side that I might have forgotten/not known how to set up?

Issue with IIS and connecting to Microsoft SQL server 2008 R2, receving network path not found error

$
0
0

I'm using an instance of the SQL server and running a different port on IIS(8090) to access the website, as this is not the default website.

My SQL server is working, I've tested it using the following ways.

1. Connect to it directly from SQL management studio
2. connect to the server using VPN and using visual studio from my development machine to connect to run the website, no issues encounters and everything works.
3. Connect to the server using VPN using my test environment through IIS on a virtual machine, everything is working as intended.

All the connection methods in SQL configuration are enabled, and the firewall is turned off.


The issue occurs from my live server when trying to access the SQL through IIS, I'm using C# as my coding language.

I feel like the issue has to do with IIS, I've checked all the ports and permissions, but I can't figure out why this might be happening.



Here is the stack code that i receive.

   [Win32Exception (0x80004005): The network path was not found]

    [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +6568558
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717
       System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) +6595000
       System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +219
       System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +6597311
       System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +6597891
       System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +942
       System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +1162
       System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +72
       System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +6601145
       System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +103
       System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +2102
       System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
       System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +1079
       System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6605639
       System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +233
       System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +278
       System.Data.SqlClient.SqlConnection.Open() +239
       System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +292
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +420
       System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +277
       System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +3326331
       System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +176
       System.Web.UI.WebControls.ListControl.PerformSelect() +51
       System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +146
       System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +36
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297

This is my connection string, I've replaced the login credentials with asterisks.

<add name="BakeryConnection" providerName="System.Data.SqlClient"  connectionString="Data Source= 192.168.2.10\BAKERYDB,52468;Initial Catalog=Bakery;Integrated Security=False;User ID=*******;Password=******;MultipleActiveResultSets=True" />



Microsoft Web Deploy 3.5 -- Error 1720

$
0
0

I have a W2K R2 SP1 server that refuses to install web deploy 3.5.

I've attempted the suggested actions in this post, but with no change:

http://forums.iis.net/t/1207327.aspx?Unable+to+Install+Web+Deploy+3+5+on+my+windows+Getting+Error+

I've run the extracted MSI with logging and received this error:

MSI (s) (4C:88) [05:49:32:582]: Product: Microsoft Web Deploy 3.5 -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action InstallEtwManifest script error -2147217406, SWbemServicesEx: Not found  Line 9, Column 13, 

I've seen posts regarding checking the DLL path for vbscript and making sure it's pointed to the correct version (32bit VS 64bit) and the Mcafee script blocking.  I've updated the registry entry "HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32"  to "C:\Windows\SysWOW64\vbscript.dll"  No change.

I've also reinstalled IIS numerous times without addressing the issue, using this link as reference:

http://blogs.msdn.com/b/chaun/archive/2010/05/26/iis7-x-a-common-mistake-when-reinstalling-iis-7-x-errors-0x80070490-and-0x80070002.aspx?Redirected=true

I've also run sfc /scannow.  No issues were found.  Server is still running IE 9 (corporate standard) and has all recent Windows OS patches.

Any other suggestions?

pak stady

$
0
0
Pakstady ka tutors address not send me hame

Response 404, not found

$
0
0

Hi,

1) I have a Web Application built in AngularJS for UI and C# for the backend, working TFS built in database.
2) The web application was up and running and the original developer left the team
3) I am trying to deploy this working application on a different WebServer and use my credentials in the default application pool on IIS.

In this overall setup, when I try to use the URL from the web browser or do a "browse" from within IIS management console, I get the error "Response 404, not found".  

My understanding is, the client (browser) is able to talk to the Server, but, the server is not able to fetch what the browser is asking for.    And I localise the issue cause as the new user ID (myself) is not able to talk to the underlying TFS built-in database.  Am I correct in assuming the cause?  Could there be other causes?  If my interpretation is correct, how do I resolve 404 error?  Please share your thoughts

thank you

Module short-circuiting?

$
0
0

I have a payment plugin installed in a nopCommerce store which works fine till the 3.60 version, after 3.70 version suddenly the plugin stops of change payment status.

The payment gateway sends a notification code and my server responds with a HTTP 200, the store credentials and the notification code, then the gateway responds with a xml with order details and the payment status.

I try to use the Postman and Fiddler making a POST with the xml but seems that a module or else is short-circuiting the request of payment gateway and responds with HTTP 200.

The action method have two parameters a FormCollection and a string, if I send a string for example the action method processes the string normally, but if I send a POST with the xml file in the body of request the Action method returns error message about null argument exception and so on.

By other side, one client of my plugin have a nopCommerce 3.70 version store hosted by Godaddy working ok.

Seems that is a server configuration problem...

Thanks in advance

           Best Regards.

HTTP Error 500.0 - Internal Server Error

$
0
0

Hello,

I have deployed my application on IIS server and set it as windows authentication and set custom service account in Application Identity pool 

but when i try to run the application Images,JS ,kendo files are not loding it gives me internal server error

<div id="details-left">
ModuleIIS Web Core
NotificationAuthenticateRequest
HandlerStaticFile
Error Code0x80070542
</div> <div id="details-right">
Requested URL
Physical Path
Logon MethodNegotiate
Logon UserGLOBAL\******

but when i open browser with service account provided  then it works fine no issue

I tried everything adding IIS_users,service account  and giving permission to everyone to that directory. but not working for me 

it works only when  i login with user that i have set in application pool identity.

Thanks and regards

Vaibhav Pawar

</div>

SMTP Service is terminated

$
0
0

Hi All

We have this SMTP service keeps on terminating in few days. 

When we try and start the service it gives us an error message.

Error: Windows couldn't start SMTP Service, Error 14 not enough storage is available to complete this operation.

in event viewer I can see event ID 7023 and 7036. 

Any help will be greatly appreciated. 

Please lemme know if any other info is required.

Thanks

Manish

IIS try to create directories with invalid name

$
0
0

I have a code on PHP that was working in a server but we migrate that code to another server and now that code is not working, specifically we want to run an .exe file using PHP with the instruction exec

I debug the script and it looks be working properly and the IUSR user and IIS_IUSR have the correct permissions and actually the exe file is running, but, when it run it need generate some files that is the part that cause the issues, the program are trying to create files on the AppPool directory for example like this: C:\MyPath\somewebsite.com\8áª\MyProgram\

Where C:\MyPath\somewebsite.com\ is the AppPool root directory and MyProgram\ is the directory that the app is creating

Where \8᪠is generated randomly and changes all the time that we try to run the program

Debugging with Process Monitor I can get an error: PATH NOT FOUND and/or NAME INVALID, on the previous server we modify the user on the IIS to run the script (that was on IIS 6 over Windows Server 2003 now we are on IIS 8.5 over Windows Server 2012R2) and that files was created on the home directory of the user AND without the random directory, for example: C:\Users\MyUser\MyProgram\

where MyUser is the user that we assigned, but on that new server we get the files on the AppPool directory (C:\MyPath\somewebsite.com) no matter if we change the user

I think that we can solve that if we was able to define a path for the IUSR user and set it as "home" path but I cannot found where to modify the IUSR user, I know that is a build-in user that IIS create but I'm not sure if I can edit that settings for that user.

I already mention that we used IIS but just as an extra data, we are running that over Windows Server 2012 R2

Any suggestion?

Viewing all 1814 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>