Saturday, March 31, 2012
The ASP.NET Web Matrix Project
http://www.asp.net/webmatrix/Normally I would say this is the not an ad forum...but...WOW! This is excellent. I recommend everyone to get this. If you dont have VS .NET, obviously that is a good reason to get it, and if you do have VS .NET, this is faster and feels cleaner.
Excellent IDE.
Originally posted by Cander
Normally I would say this is the not an ad forum...but...WOW! This is excellent. I recommend everyone to get this. If you dont have VS .NET, obviously that is a good reason to get it, and if you do have VS .NET, this is faster and feels cleaner.
Excellent IDE.
WOW is right.
This is a must have for any one doing ASPX coding without VS.Studio(lack of IntelliSense will annoy Studio users).
I downloaded it yesterday and am VERY impressed that MS could create something this clean and lite-weight(only 1.2 MB download ??!)
It even comes with it's own "lite" WEB server for those who have no use for all the bells and whistles of IIS.
And while it doesn't create CodeBehind DLLs(a plus in my book), it does generate DLLs for any Webservice you want to access.
Very cool.
John
another thing that is cool is that it only requires the 21 meg framework. So even though you couldnt run the IIS stuff with it, and they say its for 2000 and XP, it may still be installable on 98/ME so you could at least build pages on that as VS .NET doesnt isntall on 98/ME. Heck they didnt mention NT 4 in the specs and I was able to isntall it on NT and it works fine.
NOTE: There are some bugs still in it and features missing since it is just a preview, but it still works great, and beats notepad and VS .NET hands down.
Hi
I am start Dev In asp.net Is ASP.NET Web Matrix can help me
Do thing easly ? and Do I need to use COM+ as I did before ?
Thank You !
Elizabeth
elizavb@dotnet.itags.org.yahoo.com
------------------
And while it doesn't create CodeBehind DLLs(a plus in my book), it does generate DLLs for any Webservice you want to access.
------------------
How could u do that? do u need only the wsdl file?
Originally posted by tasmisr
How could u do that? do u need only the wsdl file?
Yes....Click on "Tools-WebService Proxy Generator" and put the link in to the wsdl and it creates and compiles the webservice class for you.
Very nice.
That can be done also at a command prompt but Matrix makes it easier.
so, when it produces a .dll file, this file could easly be used in other languages, like java, to call the original webservice methods and properties , am I right?
Originally posted by tasmisr
so, when it produces a .dll file, this file could easly be used in other languages, like java, to call the original webservice methods and properties , am I right?
There are a number of different languages that will work with webservices. C++, C#, VB and (Microsofts version of Java), J++ will work. I found a COBOL version that was re-designed to work with .NET that worked(looked REALLY freaky tho :) ).
But....regular Java isn't going to know squat about Webservices.
John
No the .NET dll will not work with other non .NET languages. They will have their own way of calling the web services.
Wednesday, March 28, 2012
the brower doesnt compile aspx
thanks in advance,
ling
my practice code is:
---------
<%@dotnet.itags.org. Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="form.aspx" method="post" runat="server">
<asp:textbox id="Name" runat="server" />
<asp:dropdownlist ID="form" runat="server"
<asp:listitem Value="Category" Text="Category" runat="server"></asp:listitem>
<asp:listitem Value="psycchology" runat="server"></asp:listitem>
<asp:listitem Value="popular_comp" runat="server"></asp:listitem>
</asp:dropdownlist
<asp:button ID="Lookup" runat="server" /
</form>
</body>
</html>your browser doesn't compile the code. What are you writting your code in? WebMatrix, Visual Studio,...etc.
Hi,
I've experience the same situation with the following code.
<html>
<head>
</head>
<body>
<form runat=server>
<asp:Label text="Hello World" runat=server />
</form>
</body>
</html
I'm using notepad to write the .aspx file and I've save it to C:\Inetpub\wwwroot. Using the IE6.0 browser and type http://localhost/HelloWorld2.aspx, the resulting page is blank screen.
What seems to be the problem with this? Hope to hear from anybody & thanks.
-Jun
I used visual studio and dreamweaver MX for writing the code and saved it in wwwroot.
thanks in advance,
Make sure aspnet is installed correctly by using the "aspnet_regiis -i" exe that you can find under your framework folder, usually in [system_drive]\[windows]\framework\v1.0.3705 or[system_drive]\[windows]\framework\v1.1.4322 if it's FX1.1
HTH,
Ting-hao
The code of my page doesnt execute.
1. I have installed iis v5.1 - runs ok (http://localhost... )
2. I have also installed VStudio.Net, no problem.
3. I have started my first project on C#, which consists on a webform, some controls, and a hyperlink buttons.
My problem is: when run the application, the browser (I've tried with ie, mozilla & opera ) shows the page. The html seems to be ok, but no action at all occures.
I have used break points to make sure no action at all runs after javascript calls submit() function.
In my oppinion, theres something I haven't done , probably a question of folder/file project config, permits... dunno.
I will appreciate any help, thx
Have you build the solution?
Grz, Kris.
Hi,
First of all... thx for answering.
Yes, I have also tried building de solution, but had no success.
In my oppinion, it is more a question of assigning the right permissions or so, because aspx code doesn't run even when I run "Debug" from Visual studio.
Running debug (F5), for example, shows the page correctly. If I place the cursor over the hlinkbuttons it shows the jscript function call to the right event handler "__doPostBack(hlCon,'')". But, when I click the button, nothing happens, the page refreshes but nothing happens.
For example, what I've done now is a Step by step debug (F11) and the browser opens, shos the template, but no action / interruption occurs.
(I write the shortkeys cause I'm working with the Spanish version of Visual studio, inn order to avoid a mistake with menu names)
I'm a little bit lost with this, and also a little bit desperated... :(
thx for your help in an advice, url, or whatever way.
Juanjo.
PS: There's only one more thing... I dunno if it will help. When I created the first Webform, I changed the name from Webform1 to index, in order to convert the page as default one. (My iis admits index.aspx as def. page).
uhmm...
does your page declaration match with the name of your code-behind?
does your Codebhind attribute match the code-behind file? doesthe "Inherits" match the name of your class of your code-behind?
Yes, it does...
the problem was I was specting the same behaviour from a linkbutton Click than from a buttons.
I'm sorry, to waste your time with this stupidity.
Thx to all for reading and helping me.
Thursday, March 22, 2012
The file has not been pre-compiled, and cannot be requested exception
I have a production application that uses ASP .NET 2.0 (C#) and AJAX 1.0 RC which dynamically assembles a page and displays content. I installed AJAX 1.0 RC (the corrected build which allows pre-compiled website to be published) on my production server and deployed my application (AJAX controls used in my app are UpdatePanel and Timer controls). The site was working fine for 3 days and then suddenly I started getting request timed-out. I just changed the timer refresh settings from 7 seconds to 10 seconds in my web.config and the app started working fine (may be because the change in web.config recompiled the app). Again after a couple of days I was getting request timed-out. I thought AJAX was the culprit and removed that functionality from my app and re-deployed it on production. I did not remove the AJAX references in web.config.
Even after removing the AJAX piece from my code I was getting request timed-out error again after 2-3 days. Then I thought that there was some footprint of AJAX left in my app and hence I uninstalled the AJAX 1.0 RC from my production server and also removed the following section from web.config -
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Everything seemed to be working fine for 24 hours when suddenly my site was completely down. I was getting the error -
The file '/Default.aspx' has not been pre-compiled, and cannot be requested.
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I checked out lots of blogs and forums to find out what caused this error and some of them mentioned that the application was referring to some dlls that were not present. When I took a closer look at my web.config, I saw a few more references to AJAX left out -
<pages enableEventValidation="false" enableViewStateMac="false" viewStateEncryptionMode="Never">
<controls>
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
<add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
</controls>
</pages>
<buildProviders>
<add extension=".asbx" type="Microsoft.Web.Services.BridgeBuildProvider"/>
</buildProviders>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
I just went ahead and deleted all these lines from my web.config and now my app seems to be running fine without issues. But I'm not sure if this really fixed all my issues or if its just a temporarily cure. What is the guarantee that the problem will not resurface? Have I removed the right extensions from my web.config? There are no other 3rd party controls that I'm using on my application. I would appreciate if someone could shed some light on what the real error is when I get "The file has not been pre-compiled, and cannot be requested" and how to make sure that it does not happen again... Thanks in advance...
Hi, mramani
It seems difficulty for solve. This reference may be helpful to you:
http://forums.asp.net/thread/1336283.aspx
Hope this helpful.
The format of the file Microsoft.Practices.EnterpriseLibrary.Data is invalid
server. I installed and recompiled the
'Microsoft.Practices.EnterpriseLibrary - June 2005" then added these
assemblies to the development machine's Assembly Cache. The assemblies
version appears to be 1.1.0.0. I changed the project reference to the
newly compiled EnterpriseLibrary DLLs. The Web.Config of my
application root, I also have the following <configSections>. I don't
know why at runtime it is still asking for
Microsoft.Practices.EnterpriseLibrary.Data, Version=1.0.0.0. Please
help. Thanks.
======================== My Web.Config (partial)
==========================
<configSections>
<section name="enterpriselibrary.configurationSettings"
type="Microsoft.Practices.EnterpriseLibrary.Configuratio n.ConfigurationManagerSectionHandler,
Microsoft.Practices.EnterpriseLibrary.Configuratio n,
Version=1.1.0.0,
Culture=neutral,
PublicKeyToken=60c24972b7c20af7" />
</configSections
<enterpriselibrary.configurationSettings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
applicationName="DMS_ASPX"
xmlns="http://www.microsoft.com/practices/enterpriselibrary/08-31-2004/configuration">
<configurationSections>
<configurationSection xsi:type="ReadOnlyConfigurationSectionData"
name="dataConfiguration" encrypt="false">
<storageProvider xsi:type="XmlFileStorageProviderData"
name="XML File Storage Provider" path="dataConfiguration.config" />
<dataTransformer xsi:type="XmlSerializerTransformerData"
name="Xml Serializer Transformer">
<includeTypes />
</dataTransformer>
</configurationSection>
</configurationSections>
<keyAlgorithmStorageProvider xsi:nil="true" />
<includeTypes />
</enterpriselibrary.configurationSettings
========================= Runtime 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.BadImageFormatException: The format of the
file 'Microsoft.Practices.EnterpriseLibrary.Data' is invalid.
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary
ASP.NET Files\root\88f31b66\ffb9ac8b\x-56vhi4.0.cs Line: 0
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'Microsoft.Practices.EnterpriseLibrary.Data'
could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Practices.EnterpriseLibrary.Data,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=60c24972b7c20af7
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/DMS_Net
LOG: Initial PrivatePath = bin
Calling assembly : DMS_ASPX, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(c:\windows\microsoft.net\framework\v1.1.4322\aspn et.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: Microsoft.Practices.EnterpriseLibrary.Data,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=60c24972b7c20af7
LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/root/88f31b66/ffb9ac8b/Microsoft.Practices.EnterpriseLibrary.Data.DLL.
LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/root/88f31b66/ffb9ac8b/Microsoft.Practices.EnterpriseLibrary.Data/Microsoft.Practices.EnterpriseLibrary.Data.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/DMS_Net/bin/Microsoft.Practices.EnterpriseLibrary.Data.DLL.
Stack Trace:
[BadImageFormatException: The format of the file
'Microsoft.Practices.EnterpriseLibrary.Data' is invalid.]
DMS_ASPX.Helper.DataBroker..ctor() +0
DMS_ASPX.form.main..ctor() +53
ASP.main_aspx..ctor() in
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\root\88f31b66\ffb9ac8b\x-56vhi4.0.cs:0
[TargetInvocationException: Exception has been thrown by the target of
an invocation.]
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context) +164
[HttpException (0x80004005): Failed to create page of type
'ASP.main_aspx'.]
System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context) +341
System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path) +44
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, String path, String pathTranslated, Boolean
useAppConfig) +699
System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep.Execute()
+95
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +173
------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300Ok. I solved this problem myself. It turns out that the Enterprise
Library Configuration utility created two .config files in the
application root:
web.config
dataconfiguration.config
I changed the reference version in both of the config file to the
correct version.
Ok. I solved this problem myself. It turns out that the Enterprise
Library Configuration utility created two .config files in the
application root:
web.config
dataconfiguration.config
I changed the reference version in both of the config file to the
correct version.
The fun never ends...
I've just installed Win2003 and having no end of trouble getting my
projects(created under win2K) to load. I'm having trouble getting my
project to load from my webserver. Whenever I load it, it makes a local
copy and I "Work offline". Not ALL my projects do this, just some. Where
do I configure that within the project so that I can work "online" from my
server? MANY thanks in advance!
wardeauxThanks anyways... as soon as I posted this message I found my answer...
figures... I'm developing this intense love-hate relationship with Win2K3...
wardeaux
"Wardeaux" <wardeaux@.bellsouth.net> wrote in message
news:OSIT9%23JLEHA.1032@.tk2msftngp13.phx.gbl...
> Hey all,
> I've just installed Win2003 and having no end of trouble getting my
> projects(created under win2K) to load. I'm having trouble getting my
> project to load from my webserver. Whenever I load it, it makes a local
> copy and I "Work offline". Not ALL my projects do this, just some. Where
> do I configure that within the project so that I can work "online" from my
> server? MANY thanks in advance!
> wardeaux
The fun never ends...
I've just installed Win2003 and having no end of trouble getting my
projects(created under win2K) to load. I'm having trouble getting my
project to load from my webserver. Whenever I load it, it makes a local
copy and I "Work offline". Not ALL my projects do this, just some. Where
do I configure that within the project so that I can work "online" from my
server? MANY thanks in advance!
wardeauxThanks anyways... as soon as I posted this message I found my answer...
figures... I'm developing this intense love-hate relationship with Win2K3...
wardeaux
"Wardeaux" <wardeaux@.bellsouth.net> wrote in message
news:OSIT9%23JLEHA.1032@.tk2msftngp13.phx.gbl...
> Hey all,
> I've just installed Win2003 and having no end of trouble getting my
> projects(created under win2K) to load. I'm having trouble getting my
> project to load from my webserver. Whenever I load it, it makes a local
> copy and I "Work offline". Not ALL my projects do this, just some. Where
> do I configure that within the project so that I can work "online" from my
> server? MANY thanks in advance!
> wardeaux
>
Tuesday, March 13, 2012
The IListSource does not contain any data sources.
I have migrated a site from IIS5 to IIS6. The site is configured and the we
app is installed on the new IIS site. I can get to the web page but when I
try to login, this is what I get the following error below. I would
appreciate any insight, direction or help regarding this.
Thank-you!!
Walid
************************************************** ************************************************** ********************
Server Error in '/' Application.
------------------------
The IListSource does not contain any data sources.
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.Web.HttpException: The IListSource does not
contain any data sources.
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:
[HttpException (0x80004005): The IListSource does not contain any data
sources.]
System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object dataSource,
String dataMember) +376
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
System.Web.UI.Control.DataBind() +26
T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +739
************************************************** **********
************************************************** **********Did you trace your code and see where it is failing
somehow your data binding is failing, you are not getting data or something.
Limited info given.
OZI
"Walid" <Walid@.discussions.microsoft.comwrote in message
news:9BCC27C8-8E9C-4100-9F57-6C0424B789F0@.microsoft.com...
Quote:
Originally Posted by
Hello:
>
I have migrated a site from IIS5 to IIS6. The site is configured and the
we
app is installed on the new IIS site. I can get to the web page but when
I
try to login, this is what I get the following error below. I would
appreciate any insight, direction or help regarding this.
>
Thank-you!!
>
Walid
>
************************************************** ************************************************** ********************
Server Error in '/' Application.
------------------------
>
The IListSource does not contain any data sources.
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.Web.HttpException: The IListSource does not
contain any data sources.
>
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:
>
[HttpException (0x80004005): The IListSource does not contain any data
sources.]
System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object dataSource,
String dataMember) +376
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
System.Web.UI.Control.DataBind() +26
T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +739
************************************************** **********
************************************************** **********
>
>
Thank-you for replying!
I am very new to .NET and programming, very new :-) How can I trace my
code? What more information can I provide to get some more help? Your
assistance is much appreciated.
Walid
"OZI" wrote:
Quote:
Originally Posted by
Did you trace your code and see where it is failing
somehow your data binding is failing, you are not getting data or something.
Limited info given.
>
OZI
>
>
"Walid" <Walid@.discussions.microsoft.comwrote in message
news:9BCC27C8-8E9C-4100-9F57-6C0424B789F0@.microsoft.com...
Quote:
Originally Posted by
Hello:
I have migrated a site from IIS5 to IIS6. The site is configured and the
we
app is installed on the new IIS site. I can get to the web page but when
I
try to login, this is what I get the following error below. I would
appreciate any insight, direction or help regarding this.
Thank-you!!
Walid
************************************************** ************************************************** ********************
Server Error in '/' Application.
------------------------
The IListSource does not contain any data sources.
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.Web.HttpException: The IListSource does not
contain any data sources.
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:
[HttpException (0x80004005): The IListSource does not contain any data
sources.]
System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object dataSource,
String dataMember) +376
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
System.Web.UI.Control.DataBind() +26
T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +739
************************************************** **********
************************************************** **********
>
>
>
Simply put,
set a BreakPoint ( need be in Debugging mode and not in Release Mode) in
your Page_Load event handler. Read about debugging and how to set a
breakpoint if you don't know how.
use F11 to step through the code line by line, to narrow down where the
error is occurring.
use F10 to step over etc...
I am assuming you are getting some data from a database to authenticate the
user etc..
check if you are getting any data back if you expecting data back.
You said that things break after you try to login, are you being
authenticated?
Without seeing any code it is very difficult to help you out.
OZI
"Walid" <Walid@.discussions.microsoft.comwrote in message
news:295842A1-E1B6-4C51-AF18-B9221924F8C1@.microsoft.com...
Quote:
Originally Posted by
Thank-you for replying!
I am very new to .NET and programming, very new :-) How can I trace my
code? What more information can I provide to get some more help? Your
assistance is much appreciated.
>
Walid
>
"OZI" wrote:
>
Quote:
Originally Posted by
>Did you trace your code and see where it is failing
>somehow your data binding is failing, you are not getting data or
>something.
>Limited info given.
>>
>OZI
>>
>>
>"Walid" <Walid@.discussions.microsoft.comwrote in message
>news:9BCC27C8-8E9C-4100-9F57-6C0424B789F0@.microsoft.com...
Quote:
Originally Posted by
Hello:
>
I have migrated a site from IIS5 to IIS6. The site is configured and
the
we
app is installed on the new IIS site. I can get to the web page but
when
I
try to login, this is what I get the following error below. I would
appreciate any insight, direction or help regarding this.
>
Thank-you!!
>
Walid
>
************************************************** ************************************************** ********************
Server Error in '/' Application.
------------------------
>
The IListSource does not contain any data sources.
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.Web.HttpException: The IListSource does not
contain any data sources.
>
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:
>
[HttpException (0x80004005): The IListSource does not contain any data
sources.]
System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object
dataSource,
String dataMember) +376
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
System.Web.UI.Control.DataBind() +26
T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +739
************************************************** **********
************************************************** **********
>
>
>>
>>
>>