|
there are some application which listen for win32 events on the same system where we are hosting the webpage,Still it is not working...........
will it work if we change process model in machine.config...............
|
|
|
|
|
For some reason, it tried to do this...
for A.cs
<br />
using ...<br />
public abstract class A : System.Web.UI.UserControl<br />
{<br />
<pre>
}<br />
for B.ascx.cs
<br />
using ...<br />
public partial class B : A<br />
{<br />
<pre>
}<br />
I run it and there is an error ....
Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
plz help, thank =)
|
|
|
|
|
Check the 'inherits' attribute at the top of the ascx, make sure it specifies the correct class, including namespace, that you're using.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Error:Could not load the assembly 'App_Web_wqcwjsz9'. Make sure that it is compiled before
|
|
|
|
|
hi sheena,
The problem you are having above is that the "/supplyweb" directory is not marked as an application, yet the \bin directory containing your assemblies is probably contained underneath it. As such, ASP.NET isn't looking for your assembly in the right place -- instead it is looking for it in the \bin directory underneath the root site/application on your system (note how the error message above starts with the text "Server Error in '/' Application").
To fix this, you should go into the IIS admin tool, right click on the /supplyweb directory and pull up its properties. You'll then want to make it as an application within IIS (by clicking the "create" button). The assemblies in the \bin directory should then resolve correctly.
Hope this helps,
Aavesh Agarwal
|
|
|
|
|
Is your application built with asp.net 2.0 ?
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
I also got same error in my project. And I am using Asp.net 2.0. Is the asp.net version is going to create any problem?
|
|
|
|
|
HI,
when i am compileing my asp.net application from vs its compiling fine but when i am compiling it by NANT Builder it is not generating dll.
Girish Soni
|
|
|
|
|
So the problem must be with how Nant is set up, right ? What's happening ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
while compiling application it shows error:
on compiling it from nant i got an warning:
Cannot find any assemblies that can be merged in the application
My code is
<project name="abcd" default="rebuild"
="" xmlns="http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd">
<target name="build.solution">
<property name="BuildDir" value="C:\Documents and Settings\kulkaram\My Documents\Visual Studio 2005\Projects\abcd">
<property name="cmddir" value="abcd.build">
<property name="target" value="C:\tk1" overwrite="false">
<property name="SolutionFileName" value="abcd.sln">
<property name="BuildNumberPath"
="" value="C:\Program Files\nant-0.85\bin\build.number.xml">
<property name="dotnet"
="" value="c:/windows/Microsoft.NET/Framework/v2.0.50727" overwrite="false">
<property name="MSBuildPath"
="" value="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe">
<property name="WebDeploymentExePath"
="" value="C:\Program Files\MSBuild\Microsoft\WebDeployment\v8.0">
<property name="WebProjectFolderName" value="E:\bhupi\aaa">
<property name="FinalDeployDllName" value="bhupi">
<property name="newReleaseLabel" value="abcd">
<property name="build.version.major" value="C:\Program Files\nant-0.85\bin\genVer.xsl">
<property name="build.version.minor" value="C:\Program Files\nant-0.85\bin\genVer.xsl">
<property name="build.version.build" value="C:\Program Files\nant-0.85\bin\NAnt">
<property name="build.version.revision" value="C:\Program Files\nant-0.85\bin\IncrBuild.xsl">
<exec program="${MSBuildPath}"><arg value="${BuildDir}\${SolutionFileName}">
<exec program="${dotnet}/aspnet_compiler.exe"
="" commandline=" -v /abcd.sln -p E:\slnabcd c:\tk1">
<exec program="${WebDeploymentExePath}\aspnet_merge.exe"
="" commandline=" -o ${FinalDeployDllName} ${target} -xmldocs">
<target name="build" description="Build all targets.">
<call target="build.solution">
<target name="clean" description="Delete all previously compiled binaries.">
<delete>
<fileset>
<include name="**/bin/**">
<include name="**/obj/**">
<include name="**/*.suo">
<include name="**/*.user">
<target name="rebuild" depends="clean, build">
Girish Soni
|
|
|
|
|
How to deploy a web application in asp .net in visual studio 2005?
sheena
|
|
|
|
|
Copy it to the server.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
ya copy it in server and share it.
suchitamanandhar@hotmail.com
|
|
|
|
|
Hi Friends,
I have one problem.My application is in asp.net 1.1 and packages i made using sql server 2005 integration services.My DTS runs on every 20 minutes and now i want to know wheather currently it is running or not.How can i trace that???Do anybody have idea about it???
I have gone through logging also.I can check my DTS status from sysdtslog90 table but i cant know wheather DTS which is currently running is done successfully or it is failed ??
Please help me out..!!
Thanks in advance.
Falguni
|
|
|
|
|
i have a dll which helps me to export data from grid to an excel sheet.
//these are the codes...
Response.Charset = "ks_c_5601-1987"; //(to korean character-set)
LgaGrdToXlsLib.ExportData.Export objExportM = new LgaGrdToXlsLib.ExportData.Export("Web");
objExportM.ExportDetails(dtTaskMember,iColumnsM, Export.ExportFormat.Excel, "("+DateTime.Now.ToString("yyyyMMddHHmmss")+").xls");
/////////
and it works fine, but the problem is that i save this file on my computer and open this file, i confirm what i have downloaded and then i modify some data , then i save it as different name and that is the problem.
when i save this file as a different name, on the botton of the dialogwindow, this file type should be automatically selected as "Microsoft office document excel (*.xls)", but it keeps showing "text (*.txt)" type...
what is wrong with this!!! does any body know why???
|
|
|
|
|
This is driving me crazy. I used to do this in .net 1.1
The table will have rows in GetTable, but the client will have an empty table.
I used to return a ref to the table in GetTable...I shouldn't have to clone.
I've tried no clone, and cloning at the client call.
I've tried creating a new table at the client.
I've tried moving the function to the calling sub's class.
I've tried standing on my head.
I've tried rolling chicken bones and calling the spirits of my ancestors.
Please help if you can.
Thank you
Class DataHandler
Public Function GetTable(ByVal Query As String) As DataTable
Dim oCon As New SqlConnection(ConfigurationManager.ConnectionStrings("DispatchData").ConnectionString)
Dim oAdapter As New SqlDataAdapter(Query, oCon)
Dim oTable As DataTable
Try
Dim oDataset As New DataSet
oCon.Open()
oAdapter.Fill(oDataset)
oTable = oDataset.Tables(0)
'Table has x number of rows
Return oTable.Clone
Catch ex As Exception
Throw New Exception("Failed to read data", ex)
Return Nothing
Finally
oAdapter.Dispose()
oCon.Close()
End Try
End Function
End Class
Private SomeSub()
Dim oDataHndlr as new DataHandler
Dim MyQuery as string = "SELECT * FROM MyTable"
'Table will contain 0 rows
Dim oTable as DataTable = oDataHndlr.GetTable(MyQuery)
End Sub
|
|
|
|
|
Ok, I have solved the problem, but I don't know why it's so.
The Return keyword has to be outside of the try block.
Can anyone explain why?
Thanks.
|
|
|
|
|
Okay im using a .css file and it's working in IE but not Firefox, I noticed the textsizes i was setting are getting set to the appropriate sizes, in IE but not in Firefox, although if I comment out the .css file it affects both.
Just wondering if anyone has run into this bofore, or any tips in regards to using .css file with Firefox as opposed to IE
|
|
|
|
|
EVeyone has run into this. You need to change your CSS to something that works for both. And test for any other browser you want it to work with.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Differences between IE and other browsers are quite common. If you are building your pages for IE, there is a great risk that they are depending on rendering bugs in IE, and won't look the same in any other browser.
Firefox is a bit stricter with the correctness of the code. IE sometimes accepts code that is incorrect, by guessing what you might have meant.
Example:
Incorrect code, but accepted by IE:
font-size: 12;<br />
color: bad;
Correct code:
font-size: 12pt;<br />
color: #bad;
Open up the Error Console in Firefox and open your site, and it will tell you about all the incorrect css code.
---
single minded; short sighted; long gone;
|
|
|
|
|
|
Dear Buddies,
In ASP.Net,I would like to type in Combo Box during run time. Is it possible.?
This is possible in .Net 2003 & 2005. But in ASP.Net this is not the case.Any solution to this prob?
Thanks..
Muthu
|
|
|
|
|
Type in runtime... How? When user types you want control whick key presses?
Visit my blog at http://dotnetforeveryone.blogspot.com/
|
|
|
|
|
Well, When user wants to include one more item with the existing items from combo box and save a record in database, it should be enabled in web also. this is the reason why I seek for the possiblity to type in combo box during run time.
I think, it should be possible...!!
Muthu
|
|
|
|
|
hi
i developed a website using asp.net c# and sqlexpress (2005). It works fine on my machine but when publish it to host i always take this error message:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
My database files are in App_Data directory. I am accessing them from there. the host doesnt allow remote connections. I think the connection string can cause this problem but i dont know how to solve it. Here is my connection string:
<connectionStrings>
<add name="sqlBaglantiStr" connectionString="server=.\SQLExpress;AttachDbFileName=|DataDirectory|ahsapeviniz.mdf;Integrated Security=true;User Instance=true"/>
</connectionStrings>
And for databases, i use windows authentication. Can it be about it? i dont know how can i create user for a database in App_Data folder.
thanks.
|
|
|
|