سبحان الله - الحمد لله - لا إله إلا الله - الله أكبر- سبحان الله و بحمده - سبحان الله العظيم - لا حول ولا قوة إلا بالله - رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ - رَبَّنَا أَفْرِغْ عَلَيْنَا صَبْرًا وَثَبِّتْ أَقْدَامَنَا وَانصُرْنَا عَلَى الْقَوْمِ الْكَافِرِينَ - رَبَّنَا لاَ تُزِغْ قُلُوبَنَا بَعْدَ إِذْ هَدَيْتَنَا وَهَبْ لَنَا مِن لَّدُنكَ رَحْمَةً إِنَّكَ أَنتَ الْوَهَّابُ - أَعوذُ باللهِ العَظيـم وَبِوَجْهِـهِ الكَرِيـم وَسُلْطـانِه القَديـم مِنَ الشّيْـطانِ الرَّجـيم - لا إلهَ إلاّ اللّـه، وَلا نَعْـبُـدُ إِلاّ إيّـاه, لَهُ النِّعْـمَةُ وَلَهُ الفَضْل وَلَهُ الثَّـناءُ الحَـسَن، لا إلهَ إلاّ اللّهُ مخْلِصـينَ لَـهُ الدِّينَ وَلَوْ كَـرِهَ الكـافِرون - سبحان الله وبحمده عدد خلقه و رضا نفسه و زنة عرشه و مداد كلماته

12/23/07

IIS bug with ASP.NET


In the name of ALLAH

when i tried to build my first ASP.NET 2.0 Application
with visual studio 2005 and IIS 5.0
i begin with installing the IIS on my computer and i start to create new web site
with HTTP location
hmmm suddenly i shocked with this error

configuring web site 'http://localhost/ webtime' to ASP.NET 2.0 failed. you
may need to manually configure this site for ASP.NET 2.0
in order for your site to run correctly


and when i tried to run my application my browser shows that:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the
error and
then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource
'http://localhost/ WebTime/WebTime. aspx'. Line 1, P...
<%@ Page Language="c# " AutoEventWireup= "true"
CodeFile="WebTime. aspx.cs"
> Inherits="WebTime"


i spent about 2 weeks trying to solve this disturbing problem
I'm sure that my code is correct 100%
i uninstalled and reinstalled VS 2005 and IIS many times without any improvement
finally i find it every time i unistalled VS and IIS i install the VS first then IIS
this time i installed IIS first then VS 2005
this time the first error exploded or in other words it didn't appear it's gone
that's great nice step
but also when i tried to run my application the second error changed with unfamiliar
error in the browser page that error as i remember was XML parser error
hmmm that mean the problem doesn't solved yet
after that i decided to repair my framework 2.0 application from add remove programs
wooooow that's it here is the solution
that solve the problem
i don't know where is the problem and what's make that but i just know that will
solve the problem.
just install IIS first then VS 2005
then go to add remove programs in control panel and repair
framework 2.0 package and that's all.
enjoy.