|
Hi all,
I do want to create a template how it is........
The templates like when we are select a particular project type it will shows windows project ,webapplication templates.......like i want to creat a own template for me........
|
|
|
|
|
|
How can I incoperate the '&' sign in a connection string, at the moment it just falls over:
Initial Catalog=database(& )name;
thanks
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
modified on Thursday, October 9, 2008 6:49 AM
|
|
|
|
|
can you please confirm why are you trying to use '&' in connection string.
|
|
|
|
|
The database name has an & in it so I need to put it in really.
Any ideas?
thanks
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
|
How do i start and stop indexing service catlog or refresh it from my code
|
|
|
|
|
Check this article out:
Indexing Service
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
When I change the aspnetdb.mdf to XXXYYY.mdf in the app_data and in the web.config and try to connect using a user name and pass word I can’t access. What should I do to rename the aspnetdb.mdf database and can access secure locations. Thanks
thanks
|
|
|
|
|
Is this the database you use for the membership roles etc. You will need to find out where the orignal connection string is and change this if its possible. Personally Ive never tried.
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
did you check the connection string ?
|
|
|
|
|
Add this to your web config
<connectionStrings>
<clear />
<add name="LocalSqlServer" connectionString="your connection string"
providerName="System.Data.SqlClient" />
</connectionStrings>
Notice that name=LocalSqlServer, it must be left with that name if you want to use the membership provider with default values
Alexei Rodriguez
|
|
|
|
|
thanks for help,
the code in the web.config is
<add name="ConnectionString" connectionstring="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\aspnetdb.mdf;Integrated Security=True;User Instance=True">
providerName="System.Data.SqlClient" />
i need to host this site.so i need to change aspnetdb.mdf to other name.
what is the best solution for this problem
|
|
|
|
|
I don't know how to fix this, I tried setting:
<httpruntime executiontimeout="9000"/> but still not working.
The problem is that I'm using a Typed Dataset to call the stored procedure that actually inserts the records in the table. But the problem is that the file itself contains 11,000 records so it takes a long time to import it and then connection timeout occurs from the ISA server.
Is there anyway to fix this?
|
|
|
|
|
I want to have the following functionality..
When i type something in the box, the items matching the typed letters should be automatically detected. And, i should be able to select one from them.
I am looking for something similar to combobox.
please go thru the link..
<a href="http://easylistbox.com/demoCombo.aspx">http://easylistbox.com/demoCombo.aspx</a>[<a href="http://easylistbox.com/demoCombo.aspx" target="_blank" title="New Window">^</a>]
Can u please help me in this regard.
modified on Thursday, October 9, 2008 4:41 AM
|
|
|
|
|
This is perfect for you:
AJAXAutoComplete
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
Perfect Example
|
|
|
|
|
hi,
I m not able to read the smtp setting from web.config
here is the code
Configuration configurationFile = WebConfigurationManager.OpenWebConfiguration("/web.config");
MailSettingsSectionGroup mailSettings = configurationFile.GetSectionGroup("system.net/mailSettings") as MailSettingsSectionGroup;
if (mailSettings != null)
{
//port = mailSettings.Smtp.Network.Port;
host = mailSettings.Smtp.Network.Host;
password = mailSettings.Smtp.Network.Password;
username = mailSettings.Smtp.Network.UserName;
}
web.config:
<system.net>
<mailsettings>
<smtp deliverymethod="Network">
<network host="mail.yashsoftech.com" password="111111" username="1111@yashsoftech.com">
its always coming null values.
any suggestion why?
regards
Vijay V.
Yash Softech
|
|
|
|
|
Try like this,
VijayVishwakarma wrote: Configuration configurationFile = WebConfigurationManager.OpenWebConfiguration("/web.config");
Configuration configurationFile = WebConfigurationManager.OpenWebConfiguration("~");
MailSettingsSectionGroup mailSettings = configurationFile.GetSectionGroup("system.net/mailSettings") as MailSettingsSectionGroup;
|
|
|
|
|
Hi
I have created a web page that reads excel file it's working file in Excel 2003 files, when I am trying to open Excel 2007 it hangs(If I run the page from VS 2005 then it first display 'file conversion Box' and then reading the excel file.if I am accessing through IIS its hanging)
I am attaching my code below
Excel.Workbook theWorkbook = ExcelObj.Workbooks.Open(filename, 0, true, 5,"", "", true, Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, true, true);
I am using MS Excel 11.0 Object library
thanks
|
|
|
|
|
This is because of Permission issues. Please Google for setting up proper permission to use Excel files.
|
|
|
|
|
Possibly consider using OLEDB to access the Excel file, bit lighter...
|
|
|
|
|
i am using indexing service for search
but i am not getting proper result for excel
sheet when i search for text in excel sheet but working
properly for word and pdf file
|
|
|
|
|
And this has what to do with asp.net? Have you tried google? As a clue, in XP by default it only searches some file types, you have to change the registry to search all types, but I cannot remember which.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
On my homepage, I've got an asp:LoginView control with 3 roles in it. What I'm trying to do is having my own login screen (textboxes and buttons) and not use the asp:Login control. But the problem is I need to change the logged in user's role for the LoginView control to work.
I'm using a normal access database to check if it's a valid user and then gets the user's Role from it.
Is it possible to set the asp:RoleGroup in the login page from the Role that I have received from my database so that my LoginView on the Homepage would work?
Thanks
|
|
|
|