|
I get an error while running ASP.NET 2.0 applications:
"Unable to debug Web Application.Unable to connect to WebServer.... "
When we try to run using Release Mode , we will get an error: "Unable to access IIS Meta base....."
Steps to over come this situation:
1) GIve permissions to the folder located in
>..Windows\Microsoft.NET\V2...
to the version folder, right click and select Sharing tab.
Add everone to the userlist and give fullcontrol to it.
2) Now restart the regiis:
> aspnet_regiis -i (From Microsoft 2005 commandprompt)
Now try to run the web application.
|
|
|
|
|
Hi ,
When I am trying to drag an AJAX Script manager onto my aspx page ,
I am getting an error popup "Access is denied"
Please let me know why it occurs
Thank You ,
Happy Programming!
Regards,
ctrlnick !
|
|
|
|
|
|
Check settings on the asp_client folder in iis. Make sure you can execute scripts.
I didn't get any requirements for the signature
|
|
|
|
|
I have an html image as a button when ever I click the image it should pop me up with a Filebrowser but it always takes two clicks for the first time when I load the page. After the first time it needs only one click. Is it something with the browser or how can I get rid of this double clicking the image.
Here is my Html image:
<img id="uploadImg1" class="imgUpload1" src="~/images/upload1.gif" runat="server"
alt="Select file from your computer" onclick="BrowseSingle()" />
and on the code behind I put this line , eventhough I face the similar problem.
uploadImg1.Attributes.Add("onclick", "BrowseSingle()");
|
|
|
|
|
gottimukkala wrote: uploadImg1.Attributes.Add("onclick", "BrowseSingle()");
where did you add this line ?
|
|
|
|
|
I added this line in the code behind
|
|
|
|
|
|
I added the line in the BindData() which calls from Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindData();
}
}
private void BindData()
{
uploadImg1.Attributes.Add("onclick", "BrowseSingle()");
}
|
|
|
|
|
what ever you have written , i have run.... its working fine..... check BrowseSnigle Function !!!!
|
|
|
|
|
Can you open the FileBrowser with this function check it.
You can check our site http://www.doxtop.com/userspace/upload.aspx its takes two clicks.
|
|
|
|
|
First times its take two click ??
|
|
|
|
|
ya thats what I don't understand why it takes only first two clicks??
|
|
|
|
|
hi guyz . i am trapped with crytal report complexity. i have crytal report version 11 R2 and also a crystal report tool thats come along with Visual Studio 2005 ..................is visual studio crystal report sufficient for deployement..........i want to have in asp.net appplication these reports ...........i want report of Pivot Grid type .............database is sql server 2005 ..............can u please provide some example of push method ..............thanks a lot ..........
Thanks & Regards
Manish Singhal
Software Engineer
Maxworth systems(Delhi)
|
|
|
|
|
HeaderLogo is id of td in table.
like this:
<td id="HeaderLogo" runat="server"></td>
server side written code:
HeaderLogo.BgColor = "#FFAAFF";
HeaderLogo.Style.Value = "background-image: url(images/get_adobe_reader.gif);background-repeat:no-repeat;";
now I want to set width,height,horizontal and vertical allignment for above Background image.
and also
HeaderLogo.InnerText = "Test Header";
HeaderLogo.VAlign = "top";
HeaderLogo.Align = "center";
for above inner text I want to set FontColor, FontSize,FontBackgroundColor
how to do these things?
thanks
You get the best out of others when you give the best of yourself.
modified on Tuesday, July 1, 2008 10:52 AM
|
|
|
|
|
Why you can't create a CSS CLASS for all these properties and apply the class at run time to the TD?
Copy and paste is a design error
|
|
|
|
|
actually all these properties whatever I want to set I will pick up from database so it will be different for all records.
thanks for your kind response.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Again you can create classes and store the class name in the database.
Anyway try this out, but not a good solution.
control.Style.Add("key", "value").
If you don't know the property names google it.
Copy and paste is a design error
|
|
|
|
|
why you are trying to do it in this way? best way create a Skin file and then apply it . may on run time.
|
|
|
|
|
It is not fix always.
I will pick up all values from database so it will depend on records in database.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hi Experts
after insatlled Windows Vista Sp1 ,
I have suddenly started getting this errorin all my ASP.NET applications when
I try to open any aspx page.
Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework64\v2.0.xxx\Temp orary ASP.NET
Files\home\0f303405\7e879dff\ohtbfczl.dll' -- 'The directory name is invalid.
'
I looked for this error in google and found a Microsoft support article
which advises to fix environment variables TEMP and TMP. I have verified it
and they are pointing to correct paths. Also, the ASPNET and NETWORK SERVICE
accounts have full access to these temp folders.
I have also given full access to ASPNET and NETWORK SERVICE forTemporary
ASP.NET Files folder but nothing works.
I have also tried aspnet_regiis -i, but this also does not work.
Please please please help me
Thank you
RRave
modified on Tuesday, July 1, 2008 11:19 AM
|
|
|
|
|
Did you do a reset for IIS,
iisreset
Copy and paste is a design error
|
|
|
|
|
yes, but no luck
pls help me
|
|
|
|
|
i didn't face this probs before, after insatlled Sp1 for windows vista it's giving probs.
and i tried more than 3 days,after that i post here.
Thank you
|
|
|
|
|
Check if the following directory is exist or not,If not create it and try
c:\WINDOWS\Microsoft.NET\Framework64\v2.0.xxx\Temporary ASP.NET
Files\home\
if not following also
c:\WINDOWS\Microsoft.NET\Framework64\v2.0.xxx\Temporary ASP.NET
Files\home\0f303405\7e879dff\
Copy and paste is a design error
|
|
|
|