Skip to main content
September 21, 2006
Answered

Source Code

  • September 21, 2006
  • 4 replies
  • 342 views
Hi all, I have created a test site on a win xp sp2 PC. I have one html page and an aspx page that is dynamic. When I try to view the page from a remote computer I am able to see the html page but the aspx page displays only the source code. Any suggestions. I am running the trail version of Dreamweaver 8.0.

Krupesh
This topic has been closed for replies.
Correct answer
Hi All, the issue is solved. In the future if anyone has a similar problem it is because you dont have visual studio installed and therefore the asp.net dll's are not registered and mappings for aspx pages are not there. To resolve the issue go to the microsoft knowledge base and preview the article. Follow it exactly and your pages will work.

http://support.microsoft.com/kb/325093/en-us

Krupesh

4 replies

Correct answer
September 21, 2006
Hi All, the issue is solved. In the future if anyone has a similar problem it is because you dont have visual studio installed and therefore the asp.net dll's are not registered and mappings for aspx pages are not there. To resolve the issue go to the microsoft knowledge base and preview the article. Follow it exactly and your pages will work.

http://support.microsoft.com/kb/325093/en-us

Krupesh
Inspiring
September 21, 2006
That means that IIS is not serving the page. What do you get when you
browse to http://localhost?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Krupeshd" <webforumsuser@macromedia.com> wrote in message
news:eeui66$k88$1@forums.macromedia.com...
> Hi Nath, I am running on xp sp2 prof and have IIS installed. IF I view an
> html
> page and an aspx page with no dynamic content it displays, but an aspx
> page
> with dynamic content shows me the source code.
>
> Krupesh
>


September 21, 2006
Hi Nath, I am running on xp sp2 prof and have IIS installed. IF I view an html page and an aspx page with no dynamic content it displays, but an aspx page with dynamic content shows me the source code.

Krupesh
Inspiring
September 21, 2006
.aspx pages need to run under IIS, with the address
http://localhost/yoursitefolder/file.aspx rather than
C:\Desktop\yoursitefolder\file.aspx

If you are running XP Home Edition, it isn't possible to view a .aspx file
in a "preview" view as it were, you would either have to upload it to a
webserver that supports ASP/ASP.NET or upgrade to Win XP Pro which has IIS.

I'm guessing that the remote computer only has Win XP home installed, but
that is a pure guess. I presume the .aspx file runs on your own win xp sp2
PC? If so, then ask yourself what is the difference between the two PC's.

HTH.

Regards
Nath.

"Krupeshd" <webforumsuser@macromedia.com> wrote in message
news:eeuf4a$gfo$1@forums.macromedia.com...
> Hi all, I have created a test site on a win xp sp2 PC. I have one html
> page and
> an aspx page that is dynamic. When I try to view the page from a remote
> computer I am able to see the html page but the aspx page displays only
> the
> source code. Any suggestions. I am running the trail version of
> Dreamweaver
> 8.0.
>
> Krupesh
>