|
Visual studio express edition comes with it's own built in server. XP home edition has no ISS.
|
|
|
|
|
Sadly, yes I do have XP home and not pro, however, would it be possible to obtain IIS from an XP Pro disc? If not, then I guess that's a good reason to upgrade. I'll see what I can do.
|
|
|
|
|
BREdwards wrote: would it be possible to obtain IIS from an XP Pro disc
No. Have your tried VS2005 ? It comes with an integrated development server, which may install on XP home. Try your luck.
|
|
|
|
|
I don't have the money for a license of VS 2005 unless I can find it for free someplace. Otherwise I can just save for it, I got 2003 on my machine but I don't believe it has an IDS but it's been awhile since I've tried doing ASP.NET on my machine. Oh well, thanks for your input, I appreciate it.
|
|
|
|
|
BREdwards wrote: I don't have the money for a license of VS 2005 unless I can find it for free someplace.
You have Express editions. It's all free. Download the latest Visual Webdeveloper 2008 version and try. It also comes with integrated development server.
|
|
|
|
|
Can anyone explains how the logics work behind social networking
and show me a simple code/project on how social networking works on asp.net/vb?
|
|
|
|
|
It's simple - you have users, they can link to each other.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ahlonggege wrote: show me a simple code/project on how social networking works
Why simple Code/project? I'll show you well planned and properly build Code Project[^].
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi.
I've searched code project and couldnt find any resources.
Thanks for your help anyway :]
|
|
|
|
|
Social Networking is not specific to ASP.NET technology. It can be build in any web technology. You are posting your questing on such a site and asking someone to explain how it works. No one here has ready-made code on social networking site and neither you will find on the Net. You can check here to understand how Forum/Message board system works,Internal Messaging and rating system works. After that your are on your way to write your own logic, design....
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
u have given a wrong link........plz give a right one.
Thx
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
_TORPEDO_ wrote: u have given a wrong link........plz give a right one.
you profile says that you are only 2 months old kid too much enthusiastic to code well. Is it baby?
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
hi
i am developing web application using asp.net 2005 (C#).
i want to display progressbar for file uploading as per file size.
how to know that this much size have been uploaded & these much remaining
please help me out or give me some idea to develop it
-- modified at 6:31 Wednesday 28th November, 2007
|
|
|
|
|
There are AJAX controls that show progress bars while uploading, it's not really a simple task.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I am developing a website(File system), in that I am using a grid view control. In the code behind file, I am using gridview control's rowDeleting event. When the user clicks delete button , I am displaying a messagebox asking whether to delete or not. When I am running from source it works fine.
But after publishing my website, from the published pages, when I click the delete button, I am getting the following error.
"showing a model dialog box or form when the application is not running in user interactive mode is not a valid operation. Specify the serviceNotification or DefaultDesktopOnly Style to display a notification from a service application."
How can I resolve this problem?
thank u all,
kiran
|
|
|
|
|
Hi Kiran,
What is the purpose of displaying this messagebox?
Please remember that your code is running on a server and how will this code interact with your user's dekstop.
Instead of doing this way, I would suggest you to please use client side javascripting.
]
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi All,
I am using monthname() function for particular boundfield for a gridview in ASP.NET2.0.
When I display it It shows "system.byte[]" in the cell instead of particular Month name.
I am using MySQL database and the command is
"SELECT MONTHNAME(sales.issuedate) AS 'Month', Count(Month (date(sales.issuedate))) AS 'Sale' From sales Group by Month(date(sales.issuedate))"
I look for the solution on the NET but no luck.
Please help me out.
good day
|
|
|
|
|
which method u r using to retrieve value from database. like executenonquery etc..
Better if u can paste the code here.
|
|
|
|
|
Hi,
I used sqldatasource. The following is the command.
<asp:sqldatasource id="SqlDataSource1" runat="server"
="" connectionstring="<%$ ConnectionStrings:testConnectionString %>" providername="<%$ ConnectionStrings:testConnectionString.ProviderName %>" selectcommand="SELECT MONTHNAME(sales.issuedate) AS 'Month', Count(Month (date(sales.issuedate))) AS 'Sale' From sales Group by Month(date(sales.issuedate))">
I hope this is the ans for your question.
|
|
|
|
|
where are u storing result of the query.... and In which line u r gettin error..
|
|
|
|
|
Hi G,
I am displaying the data in a boundfield of a GridView. There is no error. It works fine. But It just does not showing the right format of the result. The result should be the name of the months.
But It is showing "System.Byte[]" instead.
<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False"><br />
<Columns><br />
<asp:BoundField DataField="Month" HeaderText="Month" SortExpression="Month" /><br />
<asp:BoundField DataField="Sale" HeaderText="Sale" SortExpression="Sale" /><br />
</Columns><br />
</asp:GridView>
The result
---------------------------------¬
Months ¦ Number of Sales ¦
--------------¦------------------¦
System.Byte[] ¦ 11 ¦
--------------¦------------------¦
System.Byte[] ¦ 37 ¦
----------------------------------
-- modified at 5:49 Wednesday 28th November, 2007
|
|
|
|
|
Thats wot I want to know wot value u r assigning to Months column.
|
|
|
|
|
I assign the return data from sql statement which is string (because when I extract MONTHNAME from date it would return a string).
So there should not be System.Byte[] in the cell of the gridview.
|
|
|
|
|
Hi to All,
I am trying to handle excel file in my application. Here I am trying to get a cell value in the text box on the event of button click. but whenever i run it shows exception that Access is denied..... my code is as follows....
private Excel.Application oXL=null;
private void Button1_Click(object sender, System.EventArgs e)
{
InitializeComponent();
oXL = new Excel.ApplicationClass();
oXL.Visible = true;
Excel.Workbook oWB = oXL.Workbooks.Open("D:\\Pravin\\October-07\\xls\\7starcare-October.xls",0,true,5,"","",true,Excel.XlPlatform.xlWindows,"\t",false, false, 0, true);
Excel.Sheets oSheet= oWB.Worksheets;
Excel.Worksheet oWS = (Excel.Worksheet)oSheet.get_Item(1);
TextBox1.Text= Convert.ToString(oWS.Cells.get_Item(1,1));
}
But whenever i run my application it shows exception as follws ....
------------------------------------------------------------------------------------------------
Access is denied.
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.UnauthorizedAccessException: Access is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
----------------------------------------------------------------------------------------------------
how can i remove this problem?
Pravin
|
|
|
|
|
Add another node in ur config file with identity impersonation ="true"
|
|
|
|