|
my problem is as below:-
Hello people,
I need some help from you,plz try to solve our problem..the problem is as follows
currently we are working on asp.net2.0 as front end and sql server 2000 as backend developin erp system modules(Web application) for the company,one module is almost finished,now i m tryin to deploy it.
so i tried doin that with small web application(example) of just addin one record to database and tried to deploy that
i finished the deployment process as such
right click on solution explorer
add new project then websetup click ok
after that
right click on websetup add project output
in project output dialog box u can only see content files after that click ok
so content files get added to ur website1
after that right click on website one and click build build succeded then right click on website1
and click install
installation finished
.exe file and msi file got created now when i tried to run this website1 on internet explorer i got one error msg in that local internet explorer window
which was as follows
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/Websetup1/dsdslt.aspx'. Line 1, ...
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="dsdslt.aspx.vb" Inherits="_Default" %>
-^
and sometimes i am getting this error
that you are unathorised user...
i dont know the followig concept of local server,
means later on if we put this application on server and its database too...then how to access it from remote pcs??is there any need that remote pcs shud have asp.net installed ??or sqlserver please tell me how to do this cz this is the main concept and i have to know this i tried our level best to deploy our site(small web application as told u before)but wasnt possible for us..so plese try to solve our problem.
please mail me on my email id ie
sats_katkar@rediffmail.com
thanking you
Sats
hey i need dot.net help as m developin an application in asp.net 2.0
|
|
|
|
|
An asp net application is a web application, which runs on a web server. Your users do not need anything more complicated than a web browser to use an asp.net application.
I suggest you do some research on deploying web applications before going any further. There are plenty of articles around if you google.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hey two things i know at my level from ur blog.........
1. u getting unauthrised user as error means ur aspnet (iis user) dont have access to database. add user in ur database access list. u can do this by getting articles on google just right these specific keywords u will get steps how to do that.
2. u r little confused in running this application remotly .......it just require a network connection between computer on which u want to open remotly with the server on which application installed ................
eg :- http://ip of server/application folder name/pagename.aspx
------------------------------------------------------------------------
lets come together and make these ASP.net applications a superset of web application world
Thanks & Regards
Manish Singhal
Software Engineer
Maxworth systems(Delhi)
|
|
|
|
|
hai
i have another options check this out.
create a virtual directory in iis and named that directory xxxx and include the directory of ur webproject which is not precomplied, and set the default page in the properties also check the connection string.after that in the internet explorer type this address http://localhost/xxxx
u will get ur pages
|
|
|
|
|
Here are my findings:-
Following is the line on which error comes.
Line 1 --> SendJobTreeMessage(this,new JobTreeCommunicatorEventArgs(JobTreeCommandType.SaveJobTree);
//SendJobTreeMessage is my generic event handler
********************
public event EventHandler<jobtreecommunicatoreventargs> SendJobTreeMessage;
*********************************
i m getting error on the line 1 as "Object reference not set to an instance of an object"
Following possibility might be the cause of error:-
1. “this” object is not properly created or gets vanished after the page is successfully processed.
2. new JobTreeCommunicatorEventArgs(JobTreeCommandType.SaveJobTree) is not creating a object.
3. “SendJobTreeMessage” -> Handler is not properly registered or configured.
Anaysis :-
1. I checked thoroughly while debugging but I couldn’t found any code where “this” object is nullified and also that is not possible. Before coming to this line “SendJobTreeMessage…” I checked “this” Object by fetching its value in the Immediate window. So from my view this shouldn’t be the possibility.
2. Object of JobTreeCommunicatorEventArgs class is created sucessfully as I did that by making its object in separate line like
JobTreeCommunicatorEventArgs abc=new JobTreeCommunicatorEventArgs(JobTreeCommandType.SaveJobTree;
I found no error while its creation and verified it by getting its value in Immediate Window. This one is also rejected.
3. Now comes the handler problem either it is not configured or registered properly. Configuration or Registration point is also not the problem behind that.
I checked the handler definition. It’s same as that is mentioned in other pages like JobCategoryAddEdit.ascx.cs and there is no problem in its functionality.
If that would be the point of error then same error would also come in those pages also.
please reply me asap..thanks in advance
333333333333
|
|
|
|
|
Hi
I can i write the following:
hyperlink.ForeColor = "#000000";
the above doesnt work
thanks
|
|
|
|
|
I just used:
hyperlink.ForeColor = Color.FromArgb(98, 170, 40);
converted the hex code
cheers anyway!!
|
|
|
|
|
HyperLink1.ForeColor = System.Drawing.Color.Aqua;
|
|
|
|
|
I know how to set it as a specific colour but i wanted to know how to set it to a hex number
|
|
|
|
|
Hi its possible to tell in page load event size of the page(Height & width of the page)?
Means if u popupnew window we can tell the height and width of that newly popupwindo...,
But for me, the initial window itself, we have to tell the height and width of the page...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
I am not sure but i think you can do it only in page init or pre-init methods.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
No its not working
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
this can be possible with java script
|
|
|
|
|
Ya i did for my childwindow using javascript...,
But how u can tell it for the parent window itself?,
Ths is the code for making childwindow size:
Response.Write("<script>");
Response.Write("window.open('CollapsePanel.aspx','_blank','width=550,height=450,scrollbars=no')");
Response.Write("</script>");
Where u will tell this one for parent window?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Hi,
I need to develop a paging control which will work for gridview and listview. Which show paging like First Prev 1 2 3 4 5 6 of 1 page of 6 Next Last
1 2 3 4 will be shown in css style . Can anyone help me how can I made such a custom paging which will work for both gridview or listview.
|
|
|
|
|
Why would you use a grid view, and do your own paging, when it is built in ? Why not use something simple like a repeater, that gives you full control over the layout, if you want to take over the paging ?
In any case, what you basically need to render this, is to know what the current page number is, and how many pages there are. Then you need to create links for the numbers that either postback a value, or put it on the URL, so you know what page to navigate to. I'd write a proc that gives me the current page and the number of pages, so you can just ask for the data you want to display and plug the other info into your pager.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi
I have a GridView that initializes when page is load,its data source is a DataSet. One of the columns is in a DateTime type, how can i change its type or alternately its DateTime format.
Thanks in advance,
Yohay
|
|
|
|
|
By not using auto generated columns, so you can specify a format string
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Does it means that I need to manually create custom columns for all columns within the DataSet's table?
thanks again for your help
yohay
|
|
|
|
|
if you are assigning it data from database then when you are binding you can change the format like this. DateTime.ToString("dd MMM, yyyy HH:mm:ss");
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
<asp:label id="Label1" runat="server" text="<%# Bind(" apply_date",="" "{0:dd-mm-yyyy}")="" %>"="" xmlns:asp="#unknown">
|
|
|
|
|
i have a make a small module for a school fees website which will check if 3 day remining in due date of fees submission it will email that perticular user that "only 3 days remining plz submit fees .. etc". Its eazy if user login then aginst id of the user and datediff query this whole thing can be done. BUT if user dont login or forgot to login how to automate this whole process?
thanks in advance
|
|
|
|
|
|
thanks for this solution but any other alternate solutions ... plz
i was thinking about to use thread that keep running and checking is that a good idea??
|
|
|
|
|
.netman is right. ASP.NET is designed on the principle that pages are created to run once on the server, for a postback. You can't spawn a thread from your page, the page dies on the server side when it is returned to the client.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|