|
Hi,
My WebApplication is running successfully in visualstudio but when I deploy in IIS it is raising one compilation error.......
Error:
The namespace 'Status' in 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmis\f3cef65d\2caf0bf2\assembly\dl3\7bdaa8b2\7685bfed_cbf2c801\App_Code.DLL' conflicts with the type 'Status'
in
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cmis\f3cef65d\2caf0bf2\assembly\dl3\bd733973\e87be4f1_cbf2c801\App_Web_status.aspx.cdcab7d2.DLL'
Thanking You
McMilan.
|
|
|
|
|
Did you set the framework version in IIS ?
cheers,
Abhijit
|
|
|
|
|
Hi All,
I do have the same error.
My application in ASP.Net 2
connecting to ORACLE
and I'm using Master page for the front-end and one other for the back-end
and I faced the same problem when I publiched the web appliction from VS 2005 and deployed it either to IIS 6 on XP OS or IIS 6 on Windows 2003.
I'd deployed before one working published version and it was fine.
I think the main point is coming from the MASTER PAGE for the front end as I'd changed it then the error appears,
in the main while the back end that uses the other Master page is working fine, I think if we re-create the MASTER PAGE it would work fine.
--- please, if anyone solved the problem before me let me know. ----
Regards
hoss_the_howke
|
|
|
|
|
Hai all,
have done it through the setup project but after installation it throws ...
I have created virtual directory in IIS,and start page as "login_ho.aspx" and there itself i tried to browse,and i am geting the following error.
A name was started with an invalid character. Error processing resource 'http://localhost/Labelprinting/'. Line 1, Positio...
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Login_ho.aspx.vb" Inherits="Raj.Login_ho" %>
-^
I have followed the correct steps and i have checked it on my machine.After installation in other machine i am facing this problem.
What might be tthe reason for the error.please let me know if anybody have some idea.
Please.
kissy
|
|
|
|
|
1. Check What are the framework are available on that system,
2. While Creating the Virtual Directory check the Default Framework Section in
VirtualDirecty - [ Right Click ] - > Properties - > Asp.net Version
3. If this does not helps you, try to use aspnet_regiis command
Hope This will help you
cheers,
Abhijit
|
|
|
|
|
<br />
<iframe id="tbContentElement" class="tbContentElement" width="100%" height="100%" onblur="saveData();" style="padding:2pt;height: 87%" marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' ></iframe><br />
This is the code i am using , i am getting more space while entering the lines in iframe using IE 7.0
O/P ::
asdasdas
asdasdas
dasd
asd
as
das
d
How can i reduce the spacing between lines like the one in GMAIL compose page .or like in HOTmail .com
What are the disadvantages of ? instead what to use if span is not good ?
|
|
|
|
|
when you are pressing enter for new line its takes as <p></p> . That's the reason you are getting a blank line.
cheers,
Abhijit
|
|
|
|
|
tahnks for ur answer,
both frameworks are there and i will just check which is the in virtual directory's default version.
This may helps me.
anyhow thanks for ur suggestion.
kissy
|
|
|
|
|
Thanks for reply ,
But how can change to next line without taking as tag
I dont know how to change
Plz give any Information to get the lines one by one without spacing ..
Thanks
|
|
|
|
|
Hi friends,
I am going to assign with a new Project whice uses NMVP framework also some MVPPage and MVPHost...Any friends plz give example code samples in C# (Sample c# application which i can run in my system)or in asp.Net...I Net i have tried but the code i got is very complecated and which was not an understandable one....Any known friends plz help me...Thanks in advance kawin
r
|
|
|
|
|
I need to create an application: upon user login, check the user type and decide the database that application will use for that user. Here is what I have:
1: Master database: stores user information and application configuration data, such as which db to use and connection string
2: Database I on server 1: contains all the application data for user group I.
3: Database II on server 2: contains all the application data for user group II.
4: Database I backup on server 2: as backup for user group 1 in case server 1 fails.
5: Database II backup on server 1: as backup for user group 2 in case server 2 fails.
6: Through log shipping between server 1 and server 2 to keep DB I and I and their backup up-to-date.
7: The web site is running on web farm. The session state management is using SQL server session state management, which is on the same server as Master DB.
My questions are:
1: How do I determine if server 1 or server 2 is down and it's time for application switching to use the DB backup on the other server.
2: What to do if the master DB server is down?
3: Is there a better approach than the above design to achieve the same goals: using different DB for different users, and achieving fast recovery by using the backup server?
I would really appreciate any suggestion and help!
Thanks in advance!
|
|
|
|
|
how to use the html page in master page of asp.net 2005
|
|
|
|
|
open it, type your code, save it and be impressed by the result!
|
|
|
|
|
use iframe
cheers,
Abhijit
|
|
|
|
|
I'm creating a product order form for multiple stores. Each stores order is stored in a database by their StoreId with the ItemId and amount they need to order. The administrator needs to be able to view all of the stores orders on a single page. I would like to display each stores order in a datagrid but don't know how many stores have placed orders. So I have 2 questions: 1. Is this the best approach? 2. How do I create datagrids for each store thats in the database?
Thanks for any help you can provide.
Jim
|
|
|
|
|
You can also create a dropdown or some kind of selection list, and display the selected store's orders. This way you will make it even easier for yourself, because you can also display this page for each store, only then limit the amount of selectable stores. You can then also allow more stores with the same 'owner' but having different locations to select more than one store.
|
|
|
|
|
|
Hi all,
I am working in asp.net with c#, i need to download all files from particular Folder,Once the User Clicks on Download all option.
I refered many places there i got only for downloading single file.
Thanks in Advance.
|
|
|
|
|
You need an active X control to be iterating over files in a folder and uploading them. ASP.NET can only generate HTML, which only has a control for a single file.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
i have master page and i set property (StyleSheet=style.css)
but the ContentPlaceHolder not applied stylesheet?
any one can help me ...plz
|
|
|
|
|
Is your masterpage in a different folder? You cannot apply a css on a ContentPlaceHolder, if your masterpage refers to a stylesheet, all pages derived from that masterpage also use that stylesheet. However the path may be different from the masterpage and the webpage.
In your master page, open the source in HTML View, and change the path to the css so that is starts with a ~ and than the exact website path from the root of your website, for example
~/css/website.css
|
|
|
|
|
First thanks 4 reply
Is your masterpage in a different folder? no
all my files at root path
MasterPage.master
style.css
DefaultInMaster.aspx
Default.aspx
i was solved this problem by delete the strike lines in master page
CSS File
<br />
.clear {<br />
clear: both;<br />
height: 1px;<br />
padding-top: 0;<br />
margin-top: 0;<br />
margin-bottom: 0;<br />
font-size: 1px;<br />
line-height: 1px;<br />
}<br />
<br />
* html .clear {<br />
margin-top: -5px;<br />
margin-bottom: -4px;<br />
}<br />
MasterPage
<%@ Master Language="VB" %><br />
<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head id="Head1" runat="server" ><br />
<title>Beauty company - Free Website Templates</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br />
<link rel="stylesheet" href="style.css" type="text/css" media="screen" /><br />
</head><br />
<br />
<body><br />
<form id="form1" runat="server"><br />
<div><br />
</div><br />
<div id="wrapper" style="width: 739px; right: 0px; top: 0px;"><br />
<h1><a href="#"><img src="images/logo.gif" width="212" height="47" alt="Beauty Company" /></a> </h1><br />
<ul id="nav"><br />
<li class="first"><a href="#" style="width: 125%">Main</a></li><br />
<li><a href="#">Products</a></li><li><a href="#">Partners</a></li><br />
<li><a href="#">Contact us</a></li><br />
<li><a href="#">Europe & US</a></li><br />
</ul><br />
<div class="clear"><br />
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server"><br />
<br />
</asp:contentplaceholder><br />
</div><br />
<!-- end searches --><br />
<div id="body"><br />
<!-- end highlights --><!-- end right --><!-- end beauty --> <br />
<div class="clear"></div><br />
</div><!-- end body --><br />
<div id="footer"><br />
Web design by <a href="#">Free Website Templates</a><br />
</div><!-- end footer --><br />
</div><!-- end wrapper --><br />
</form><br />
</body><br />
</html>
thanks a lot Eduard Keilholz
thanks a lot Abhijit Jana
modified on Thursday, July 31, 2008 8:53 AM
|
|
|
|
|
You have to set StyleSheetTheme in ContentPlace Holder also
cheers,
Abhijit
|
|
|
|
|
Hello All,
I'm truly hoping that someone here can provide me an answer to this one. I have a CompositeControl created in Visual Web Developer 2008, to which I want to add Design-Time support for a DateTime property. Currently, the property shows up in the Properties editor for the control as just a text field. What I would prefer is to have it editable in the designer via a DateTimePicker (similar to the date fields in the properties for the Calendar control). This is what I have thus far:
[
Category(Behavior),
Browsable(true),
TypeConverter(typeof(DateTimeConverter),
Editor(typeof(DateTimeEditor), typeof(UITypeEditor),
DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)
]
public virtual DateTime ExpirationDate
{
get { return expirationDate; }
set { expirationDate = value; }
}
Thanks a million,
Lennie
|
|
|
|
|
I am using the AJAX tab control and have two tab pages. The problem is that when I am on the 2nd tab page, and want to remain there, after a postback I am returned to the first tab page. Now, in the control that is causing the postback I have a hooked event that when fired manually sets the tab index back to the second tab page (TabContainer.TabIndex = 1). This does not work. Has anyone run into the same problem and come up with a fix?
Thanks,
Steve
|
|
|
|