|
|
hi there!
i' having i think a little probleme with my iis.i' ve a;ways used my visual studio 2005 embbeded web server and now i'm trying to use
it but i'm facing a weird error statement like "Failed to access iis metabase".
I'll try to describe my iis configuration as precise as possible.
first visual studio is on and my project files are on E:\Visual Studio 2005\projects ,E:\Visual Studio 2005\Templates,
E:\Visual Studio 2005\WebSites.
the iis default web site properties
web site
-description:default web site
-Ip address : 127.0.0.1
- tcp port :80
home diretory
- local path:c:\inetpub\wwwroot
-combo box checked:read, write,directory browsing,log visits,index this ressource
-application name:default application
-starting point: default web site
-execute permission: script only
-application protection:Medium(pooled)
Directory security
-anonymous access checked
-username :YEVI-61394B25B9\Administrator
-allow iis to control password checked
-integrated windows authentication checked
asp.net
version:2.0.50727
virtual path:default web site
file location: c:\inetpub\wwwroot\web.config
file creation date : 06/08/2008 09:46:13 (just set default language to c#, ithnik by default the authentication mode is set to windows)
file last modified :06/08/2008 09:46:13
my site iw propertis are quite the same
home diretory
designated directory checked
- local path:\iw
-combo box checked:read, write,directory browsing,log visits,index this ressource
-application name:"it is empty"
-starting point: <default web="" site="">\iw
-execute permission: script only
-application protection:Medium(pooled)
Directory security
-anonymous access checked
-username :YEVI-61394B25B9\Administrator
-allow iis to control password checked
-integrated windows authentication checked
asp.net
version:2.0.50727
virtual path:default web site
file location: c:\inetpub\wwwroot\iw\web.config
file creation date : 06/08/2008 09:46:13 (just set default language to c#)
file last modified :06/08/2008 09:46:13
i just created one page site with one labels and 1 button.the same thing works with the the embbeded server.here i'm having this:
Failed to access IIS metabase.i included the page.thanks for suggestion
Ps:by the way in my search i just found stuff code to register the iis.
this:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>asp.net_regiis" don't know if it secure i'just want to have people i trust opinion(i mean you fellas).
eager to learn
|
|
|
|
|
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>asp.net_regiis -i"
Yes, it is secure.
When you are running the 1.1 and 2.0 framework simultaneously then as you stated problem comes into the picture.
No problem at all just go ahead and install it (aspnet_regiis -i).
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
|
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
while executing this file default or any other file. it is displaying the error message. i am display the error message also. what is problem i could not understand. please help me out to solve this problem . this problem is encountered to all the files. the error message is.
Server Error in '/Websites' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type '_Default'.
Source Error:
Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Line 2:
Line 3: <%@ Register Src="header.ascx" TagName="header" TagPrefix="uc1" %>
Source File: E:\WebServices\Webservices Security\Websites\default.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
|
|
|
|
|
The problem is that the class containing the code behind for the page doesn't exist.
You have to compile the code before running it. If you have deployed the files to a server, you have to include the compiled code (bin folder) also.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Just make sure that the page with name default exists in your website.
If this page exists and you are still getting the error, then please let us know..
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
1) The virtual directory should have been marked as an application in IIS.
2) The application should have a bin folder with the .CS/.VB files built before using the application.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Hi Friends,
I have implemented for ASP .Net Ajax in our web application. Now it is working fine.
My problem is, I have implemented a page with required field validator. Now the required field validator is working fine for when first time loaded. The second time is not working for validate empty value.
Please help me urgent for how to change our source in my application.
Thanks in advance
Rameshkumar Thirumalaisamy
|
|
|
|
|
|
Hi!
I'm newbie in ASP.NET world.
My question is:
I have a web page (ASP.NET 2.0 with code behind file C#) with some controls, like text boxes, drop down lists and so on.
I'd like when an user change any data in any control, and then he/she try to close the browswer or try to leave the web page without save the data, it appear a message box warning that he/she will lose the changes.
Note: Script options doesn't work because I'm using master pages and scripts can't be inserted in content file. So I need a code-behind solution.
Do you have any idea?
Thank you in advance.
--
[Adrián Córdoba]
|
|
|
|
|
(1) As per my perception, we can use scripts in Content page.
Suppose that you have written few methods in js file called "myjs.js" and then you can access all methods in content page.
First add this file in master page like below tag:
<script language="JavaScript" src="myjs.js"></script>
(2) Script is only a way that we can handle achieve your requirement
< body onbeforeunload="alert('Closing');">
this is strait way that you shows alert on browser close event.
(3) If wants that if something change on your page, then in that case you need to set flag in cookies and with option two (onbeforeunload) event we can check whether something is change or not and then on the basis of that show the alert message.
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
|
I'm using grid view
in each row I'm using details link to show complete details about members.
when I click on details link then this row only should be hide and
I want to expand gridview and I want to show all member details in that expanded part and other grid view rows will be same.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Use javascript to show/hide a div containing your detals. You may find this easier to achieve if you use a repeater.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
|
With out using viewstate or session or database... its possible to add datas in gridview?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
yes you can use object for it.
like array,array list,collection etc..
|
|
|
|
|
New one wrote: viewstate or session
I haven't heard of using viewstate to bind data's to gridview. You know you can bind any type to gridview that implements IEnumerable .
|
|
|
|
|
Yes. But on every roundtrip you are obliged to bind the gridview appropriately.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
hello friends
I need to send a email when the user comes back from paypal after sucessfull payment so i have stored the mail message in a session variable ( i am having some 12 fields to be included in email)
But session is getting expired any suggestions please tell me
I am struck at this point
Thanks
Reagards
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
You moved from your domain from another one, so I guess session will be lost. use a cookie instead to keep the value.
|
|
|
|
|
Hi,
could u tell me how I can generate PDF base report from html text format.(i am using c#.net)
thanks
|
|
|
|
|
By buying a PDF library.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi friends
I am working on Customize Editor in which I generate text image using handler.
I have a little problem to create border width of text using handler.
Please visit my page here
Genrate Text Border[^]
and this is reference site
Build A sing[^]
if anyone can help regarding generate border of text,Please give reference links or sample code or if possible,guide me.
Thanks in advance
IMrankhan Pathan
please don't forget to vote on the post that helped you.
|
|
|
|