#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    25
    Rep Power
    0

    .net site not working after setting up php site


    I have had two asp.net (2.0.5) sites running for 5 yrs on my Windows 2003 Server with IIS 6.
    Today I set up PHP to run a new site. It works fine (or at least appears to be as the site is not built yet, but index.php is coming up).
    Now, while the default.aspx pages work on the original sites, no other pages work on those sites.

    Any ideas??

    Thanks for looking
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,440
    Rep Power
    4539
    Best I can say is review every step you did while installing PHP. You probably changed something in IIS settings that shouldn't have been changed. You didn't provide enough information to make any specific comment on your problem.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    25
    Rep Power
    0
    Originally Posted by Doug G
    Best I can say is review every step you did while installing PHP. You probably changed something in IIS settings that shouldn't have been changed. You didn't provide enough information to make any specific comment on your problem.
    Went Back over everything, still having the problem. The home page appears to be working normally, but any page after that comes up with a "The page cannot be found" error. All web data is still on the server (No data loss).
    I have been receiving an asp.net error in the event log for about a month, but this problem just started. not sure if they are related:

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/12/2011 7:03:39 AM
    Event time (UTC): 1/12/2011 2:03:39 PM
    Event ID: 4de7c159e12041338e6529bb6ea07818
    Event sequence: 482
    Event occurrence: 13
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/1809768093/Root-1-129392643830000000
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\domains\www.phoenixmag.com\
    Machine name: SERVER94

    Process information:
    Process ID: 1408
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
    Exception type: SqlException
    Exception message: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_xlaABMstats_xlaABMbanners". The conflict occurred in database "CitiesWest-PhxMag-Ads", table "dbo.xlaABMbanners", column 'bannerid'.
    The statement has been terminated.

    Request information:
    Request URL: http://www.phoenixmag.com/absolutebm/abmc.aspx?b=192&z=31
    Request path: /absolutebm/abmc.aspx
    User host address: 67.195.111.215
    User:
    Is authenticated: False
    Authentication Type:
    Thread account name: NT AUTHORITY\NETWORK SERVICE

    Thread information:
    Thread ID: 5
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader()
    at ASP.absolutebm_abmc_aspx.page_load() in C:\domains\www.phoenixmag.com\absolutebm\abmc.aspx:line 99
    at System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Custom event details:

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Thanks for looking
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2009
    Posts
    166
    Rep Power
    6
    Hello,

    Do you use some URL rewriting?

    Regards
    http://www.windowshostingasp.net/ - Free ASP.NET Web hosting resources and information.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    25
    Rep Power
    0

    Problem solved


    My problem was solved by adding the wildcard application map. Apparently PHP deleted it...

    In my case it was: C:\winnt\MICROSOFT.NET\Framework\v2.0.507...
  10. #6
  11. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,440
    Rep Power
    4539
    Thanks for posting your solution
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo