Open a .aspx file with Internet Explorer - CSharp

This is a discussion on Open a .aspx file with Internet Explorer - CSharp ; Hello, I have developed a ASP.Net Web Site in C# language. I can debug it and run it from Visual Studio 2005. I have published it . But when I want to open this .aspx file in Internet Explorer without ...

+ Reply to Thread
Results 1 to 9 of 9

Open a .aspx file with Internet Explorer

  1. Default Open a .aspx file with Internet Explorer

    Hello,
    I have developed a ASP.Net Web Site in C# language. I can debug it and run
    it from Visual Studio 2005. I have published it .
    But when I want to open this .aspx file in Internet Explorer without Visual
    Studio 2005, I have an error with a message like that:
    The XML page can’t be opened. It’s impossible to open the XML insertion , by
    using an XSL stylesheet. Correct the mistake and ...
    The name is begun with a faulty character. Error in the processing of the
    resource file:///C:/Mes documents/ ...

    I can’t understand because I haven’t any XSL stylesheet.
    Could you give me please a solution? According to my opinion, it could be
    the parameters of IIS or Internet Explorer or I haven’t the rights to open
    this file.
    Thanks a lot for your help
    Good Bye

    --
    Nicole
    Chef de projet - développeur

  2. Default Re: Open a .aspx file with Internet Explorer

    Hi,


    Most probably the aspx engine has not been registered, run regiis_aspx.exe ,
    it is in the win folder inside the Microsoft.Net folder

    --
    Ignacio Machin
    http://www.laceupsolutions.com
    Mobile & warehouse Solutions.
    "Nicole" <Nicole@discussions.microsoft.com> wrote in message
    news:83DB9D82-D212-4358-BC96-A771609F717F@microsoft.com...
    > Hello,
    > I have developed a ASP.Net Web Site in C# language. I can debug it and run
    > it from Visual Studio 2005. I have published it .
    > But when I want to open this .aspx file in Internet Explorer without
    > Visual
    > Studio 2005, I have an error with a message like that:
    > The XML page can't be opened. It's impossible to open the XML insertion ,
    > by
    > using an XSL stylesheet. Correct the mistake and ...
    > The name is begun with a faulty character. Error in the processing of the
    > resource file:///C:/Mes documents/ ...
    >
    > I can't understand because I haven't any XSL stylesheet.
    > Could you give me please a solution? According to my opinion, it could be
    > the parameters of IIS or Internet Explorer or I haven't the rights to open
    > this file.
    > Thanks a lot for your help
    > Good Bye
    >
    > --
    > Nicole
    > Chef de projet - dveloppeur




  3. Default Re: Open a .aspx file with Internet Explorer

    Here is another possible reason for your problem.
    When you start (create) a web application in VS2005 you have an option to
    create it using IIS or the file system. I think by default it is the file
    system. The file system option means that VS2005 will not create IIS vritual
    folder for you and will use a small development web server to run your
    application. In fact you don't need to have IIS installed at all. However it
    is VS that starts this web server when you try to run the application.
    Without VS there is no way you can see your web page.

    After you are done developing your web application you need to deploy it on
    IIS. I believe there are deployment tools in VS that helps you with this,
    but what I usually do is to create a virtual folder in IIS set up a web
    application for that folder and copy my files manually.

    Keep in mind that you cannot open aspx page using files system path such as
    file:///C:/Mes documents/ ...
    This is because aspx pages needs to be processed by the asp.net runtime in
    order to generate the final HTML that is going to be served to the browser.

    HTH
    --
    Stoitcho Goutsev (100)


    "Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> wrote in
    message news:%23m41I2MFIHA.5752@TK2MSFTNGP02.phx.gbl...
    > Hi,
    >
    >
    > Most probably the aspx engine has not been registered, run regiis_aspx.exe
    > , it is in the win folder inside the Microsoft.Net folder
    >
    > --
    > Ignacio Machin
    > http://www.laceupsolutions.com
    > Mobile & warehouse Solutions.
    > "Nicole" <Nicole@discussions.microsoft.com> wrote in message
    > news:83DB9D82-D212-4358-BC96-A771609F717F@microsoft.com...
    >> Hello,
    >> I have developed a ASP.Net Web Site in C# language. I can debug it and
    >> run
    >> it from Visual Studio 2005. I have published it .
    >> But when I want to open this .aspx file in Internet Explorer without
    >> Visual
    >> Studio 2005, I have an error with a message like that:
    >> The XML page can't be opened. It's impossible to open the XML insertion ,
    >> by
    >> using an XSL stylesheet. Correct the mistake and ...
    >> The name is begun with a faulty character. Error in the processing of the
    >> resource file:///C:/Mes documents/ ...
    >>
    >> I can't understand because I haven't any XSL stylesheet.
    >> Could you give me please a solution? According to my opinion, it could be
    >> the parameters of IIS or Internet Explorer or I haven't the rights to
    >> open
    >> this file.
    >> Thanks a lot for your help
    >> Good Bye
    >>
    >> --
    >> Nicole
    >> Chef de projet - dveloppeur

    >
    >




  4. Default Re: Open a .aspx file with Internet Explorer

    I try to run the file regiis_aspx.exe. Then, I look for this file. But I
    can't find it in my computer.
    I work on Microsoft Windows Server 2003.
    --
    Nicole
    Chef de projet - développeur


    "Ignacio Machin ( .NET/ C# MVP )" wrote:

    > Hi,
    >
    >
    > Most probably the aspx engine has not been registered, run regiis_aspx.exe ,
    > it is in the win folder inside the Microsoft.Net folder
    >
    > --
    > Ignacio Machin
    > http://www.laceupsolutions.com
    > Mobile & warehouse Solutions.
    > "Nicole" <Nicole@discussions.microsoft.com> wrote in message
    > news:83DB9D82-D212-4358-BC96-A771609F717F@microsoft.com...
    > > Hello,
    > > I have developed a ASP.Net Web Site in C# language. I can debug it and run
    > > it from Visual Studio 2005. I have published it .
    > > But when I want to open this .aspx file in Internet Explorer without
    > > Visual
    > > Studio 2005, I have an error with a message like that:
    > > The XML page can't be opened. It's impossible to open the XML insertion ,
    > > by
    > > using an XSL stylesheet. Correct the mistake and ...
    > > The name is begun with a faulty character. Error in the processing of the
    > > resource file:///C:/Mes documents/ ...
    > >
    > > I can't understand because I haven't any XSL stylesheet.
    > > Could you give me please a solution? According to my opinion, it could be
    > > the parameters of IIS or Internet Explorer or I haven't the rights to open
    > > this file.
    > > Thanks a lot for your help
    > > Good Bye
    > >
    > > --
    > > Nicole
    > > Chef de projet - développeur

    >
    >
    >


  5. Default Re: Open a .aspx file with Internet Explorer

    Hello Nicole,

    A few questions. You said that you "have published it". I suppose that you
    mean that you send your application to web server in order to access it from
    the internet. Is this correct?
    If the previous question is correct then is it the first time that you
    published an application?
    Again, if the first question is correct, then why the directory of the
    resource file begins with c:\My Documents\etc... Did you hardcoded a
    resource filename in your code to point at your local hard drive?

    I'm sorry for not giving you any answers, but I had problems myself when I
    tried to run my published application for the first time. So I'm trying to
    find out what is causing the problem?

    Regards
    Dimitris

    "Nicole" <Nicole@discussions.microsoft.com> wrote in message
    news:83DB9D82-D212-4358-BC96-A771609F717F@microsoft.com...
    > Hello,
    > I have developed a ASP.Net Web Site in C# language. I can debug it and run
    > it from Visual Studio 2005. I have published it .
    > But when I want to open this .aspx file in Internet Explorer without

    Visual
    > Studio 2005, I have an error with a message like that:
    > The XML page can't be opened. It's impossible to open the XML insertion ,

    by
    > using an XSL stylesheet. Correct the mistake and ...
    > The name is begun with a faulty character. Error in the processing of the
    > resource file:///C:/Mes documents/ ...
    >
    > I can't understand because I haven't any XSL stylesheet.
    > Could you give me please a solution? According to my opinion, it could be
    > the parameters of IIS or Internet Explorer or I haven't the rights to open
    > this file.
    > Thanks a lot for your help
    > Good Bye
    >
    > --
    > Nicole
    > Chef de projet - developpeur
    >





  6. Default Re: Open a .aspx file with Internet Explorer

    Hello Ignacio,
    I found the file aspnet_regiis.exe in the French version and I run it with
    the correct parameters. But I always have the same problem.
    Could you help me more, please?
    I don't know what to do
    Thank you for your help
    Good bye
    --
    Nicole
    Chef de projet - développeur


    "Dimitris Milonas" wrote:

    > Hello Nicole,
    >
    > A few questions. You said that you "have published it". I suppose that you
    > mean that you send your application to web server in order to access it from
    > the internet. Is this correct?
    > If the previous question is correct then is it the first time that you
    > published an application?
    > Again, if the first question is correct, then why the directory of the
    > resource file begins with c:\My Documents\etc... Did you hardcoded a
    > resource filename in your code to point at your local hard drive?
    >
    > I'm sorry for not giving you any answers, but I had problems myself when I
    > tried to run my published application for the first time. So I'm trying to
    > find out what is causing the problem?
    >
    > Regards
    > Dimitris
    >
    > "Nicole" <Nicole@discussions.microsoft.com> wrote in message
    > news:83DB9D82-D212-4358-BC96-A771609F717F@microsoft.com...
    > > Hello,
    > > I have developed a ASP.Net Web Site in C# language. I can debug it and run
    > > it from Visual Studio 2005. I have published it .
    > > But when I want to open this .aspx file in Internet Explorer without

    > Visual
    > > Studio 2005, I have an error with a message like that:
    > > The XML page can't be opened. It's impossible to open the XML insertion ,

    > by
    > > using an XSL stylesheet. Correct the mistake and ...
    > > The name is begun with a faulty character. Error in the processing of the
    > > resource file:///C:/Mes documents/ ...
    > >
    > > I can't understand because I haven't any XSL stylesheet.
    > > Could you give me please a solution? According to my opinion, it could be
    > > the parameters of IIS or Internet Explorer or I haven't the rights to open
    > > this file.
    > > Thanks a lot for your help
    > > Good Bye
    > >
    > > --
    > > Nicole
    > > Chef de projet - developpeur
    > >

    >
    >
    >
    >


  7. Default Exception of Security

    Hello,
    I have found a solution to open this ASP.Net Web Site. I have published it
    on IIS local Server from Visual Studio 2005. You must chose the IIS local
    Server on the left on the windows which is opened when you published your
    site. You must open your site with the URL.
    But now I have an exception of Security, when I click on the button of
    Project Server Connection.
    The message is described like that :
    The application tried to run an operation which isn’t allowed by the
    security. You must ask to your system Administrator or modify the level’s
    trust of your application on configuration file.
    I don’t know whether this point is caused by the rights of SharePoint, by
    Project Server itself or by the rights of Windows Server 2003.
    Could you help me please ?
    Thank you for your help
    Good bye
    --
    Nicole
    Chef de projet - développeur


    "Nicole" wrote:

    > Hello,
    > I have developed a ASP.Net Web Site in C# language. I can debug it and run
    > it from Visual Studio 2005. I have published it .
    > But when I want to open this .aspx file in Internet Explorer without Visual
    > Studio 2005, I have an error with a message like that:
    > The XML page can’t be opened. It’s impossible to open the XML insertion , by
    > using an XSL stylesheet. Correct the mistake and ...
    > The name is begun with a faulty character. Error in the processing of the
    > resource file:///C:/Mes documents/ ...
    >
    > I can’t understand because I haven’t any XSL stylesheet.
    > Could you give me please a solution? According to my opinion, it could be
    > the parameters of IIS or Internet Explorer or I haven’t the rights to open
    > this file.
    > Thanks a lot for your help
    > Good Bye
    >
    > --
    > Nicole
    > Chef de projet - développeur


  8. Default hiii,i have the same problem

    hey,i have the problem as urs...if u found out the solution,can u please help me out with this???

  9. Default Re: hiii,i have the same problem

    Any particular question among the 2000+ previous postings?

    "uma devi" wrote in message news:20088817300littlehearts96@yahoo.com...
    > hey,i have the problem as urs...if u found out the solution,can u please
    > help me out with this???



+ Reply to Thread

Similar Threads

  1. Open Find.dlg from Internet Explorer
    By Application Development in forum Inetserver
    Replies: 1
    Last Post: 09-28-2007, 03:35 AM
  2. Internet explorer -want it to open maximized every time
    By Application Development in forum Sharepoint
    Replies: 1
    Last Post: 05-29-2007, 12:38 PM
  3. Open pdf file not in Internet Explorer
    By Application Development in forum Adobe Acrobat
    Replies: 0
    Last Post: 11-09-2006, 10:50 AM
  4. Pdf.ocx error: I can't open files .pdf in internet explorer
    By Application Development in forum Adobe Acrobat
    Replies: 0
    Last Post: 01-26-2005, 12:27 PM
  5. Pdf.ocx error: I can't open files .pdf in internet explorer
    By Application Development in forum Adobe Acrobat
    Replies: 1
    Last Post: 01-20-2005, 02:30 AM