15,790,957 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by prateekfgiet (Top 37 by date)
prateekfgiet
5-Aug-16 5:22am
View
why you want to replace sheet name with same name?
is there any mean replace xyz with xyz?
prateekfgiet
20-Jun-13 7:18am
View
Its Working for FireFox but still have problem with Crome.
Is there any Solution for crome??
prateekfgiet
20-Jun-13 4:31am
View
code at Parent Page:
Java script Function:
function popitup(url) {
newwindow = window.open(url, 'name', 'height=200,width=150');
if (window.focus) { newwindow.focus() }
return false;
window.moveTo(0, 0);
window.resizeTo(screen.width, screen.height);
}
onclick="popitup('ChildPopUp.aspx')"
Code at Child Page:
JavaScript Function:
function SwitchToParent() {
window.opener.focus();
}
onclick="SwitchToParent();"
it works on IE but not at crome and firefox
prateekfgiet
9-Jul-12 0:57am
View
if you want to call 3 service related to link1 data "BUSINESSUPLOAD_SERVICES_SERVICENAME"
you can use window.open() for all services it will open new pages related to data.
prateekfgiet
16-Mar-12 1:26am
View
Hi GanesanSenthilvel,
i tried with your solution,but i am getting new error.
Log Name: Application
Source: Fabric Management Services
Date: 3/16/2012 10:52:38 AM
Event ID: 1
Task Category: (1)
Level: Error
Keywords: Classic
User: N/A
Computer: DDC-SC-VMM02.testlab.ourcp.com
Description:
Cannot connect to SCVMM server.
Exception: Microsoft.Hosting.Management.HostingManagementException - Message: Cannot connect to SCVMM server.You cannot contact the Virtual Machine Manager server. The credentials provided have insufficient privileges on localhost.
Ensure that your account has access to the Virtual Machine Manager server localhost, and then try the operation again.
Stack Trace: at Microsoft.Hosting.VirtualMachineManagement.ServiceImplementation.VirtualMachineManagementService.GetServerConnection()
at Microsoft.Hosting.VirtualMachineManagement.ServiceImplementation.VirtualMachineManagementService..ctor()
Event Xml:
<event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<system>
<Provider Name="Fabric Management Services" />
<eventid qualifiers="0">1
<level>2
<task>1
<keywords>0x80000000000000
<timecreated systemtime="2012-03-16T05:22:38.000000000Z">
<eventrecordid>5464
<channel>Application
<computer>DDC-SC-VMM02.testlab.ourcp.com
<security>
Cannot connect to SCVMM server.
Exception: Microsoft.Hosting.Management.HostingManagementException - Message: Cannot connect to SCVMM server.You cannot contact the Virtual Machine Manager server. The credentials provided have insufficient privileges on localhost.
Ensure that your account has access to the Virtual Machine Manager server localhost, and then try the operation again.
Stack Trace: at Microsoft.Hosting.VirtualMachineManagement.ServiceImplementation.VirtualMachineManagementService.GetServerConnection()
at Microsoft.Hosting.VirtualMachineManagement.ServiceImplementation.VirtualMachineManagementService..ctor()
prateekfgiet
6-Mar-12 0:08am
View
Please suggest me where i have to update [System.Reflection.Assembly]::LoadFrom( "C:\windows\system32\inetsrv\Microsoft.Web.Administration.dll" )
prateekfgiet
5-Mar-12 5:25am
View
i am able to launch WCFTestClient.
my problem when i call function from WCFTestClient its working fine but when i host same application in iis then call from different website by adding add webservices. its giving error.
prateekfgiet
5-Mar-12 4:39am
View
hi, i have done according to above given topic,now time out problem is fixed but got other error.
when i run wcf service from visual studio it runs wcf test client if i add his ref(http://localhost:608547/mywebservice.svc) to new web site it will works fine but when i add web service usnig url(http://192.168.1.16/mywebservice.svc) it will send error
You cannot call a method on a null-valued expression.At C:\shutdown.ps1:17 char:37+ $result = $vmshut.InitiateShutdown <<<< ("$true","no comment") + CategoryInfo : InvalidOperation: (InitiateShutdown:String) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull unable to shutdown wintest.
prateekfgiet
1-Mar-12 3:43am
View
i am able to run .net on my system.
My Requierment is, want to run dos command using my webserives ..
prateekfgiet
1-Mar-12 3:28am
View
Thanks Chandrakantt,
i find that dll from net,how i go for 32 to 64 bit??
or is there any other way to run dos command using asp.net app.
prateekfgiet
4-Feb-12 2:52am
View
hi Martin,WCF web Service is provided by Microsft, and for tracing i putted Piece of code in web config.
but it dint create any log file.
prateekfgiet
3-Feb-12 7:39am
View
identity
serviceprincipalname value="host/win48.scvmmrc.ourcp.com"
identity
prateekfgiet
3-Feb-12 7:38am
View
identity tag is mentioned there and identity tag contains serviceprincipalname with value host/username.doaminame
with end point tag i was forgot to copy from config file while pasting here
prateekfgiet
3-Feb-12 7:21am
View
i have used identity tag as well,and now i am putting credential as
Client.ClientCredentials.Windows.ClientCredential.Domain = "";
Client.ClientCredentials.Windows.ClientCredential.UserName = "";
Client.ClientCredentials.Windows.ClientCredential.Password = "";
it able to stablish connection but when i call any function,it gives error: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
prateekfgiet
3-Feb-12 6:46am
View
i am posting tags as new solution becoz have some error here to post
prateekfgiet
3-Feb-12 6:45am
View
Deleted
<endpoint address="http://173.192.138.18/SCVMMService/VirtualMachineManagementService.svc"
="" binding="wsHttpBinding" bindingconfiguration="WSHttpBinding_IVirtualMachineManagementService" contract="ServiceReference1.IVirtualMachineManagementService" name="WSHttpBinding_IVirtualMachineManagementService">
<identity>
<serviceprincipalname value="host/win48.scvmmrc.ourcp.com">
prateekfgiet
3-Feb-12 6:43am
View
Deleted
<endpoint address="http://173.192.138.18/SCVMMService/VirtualMachineManagementService.svc"
="" binding="wsHttpBinding" bindingconfiguration="WSHttpBinding_IVirtualMachineManagementService" contract="ServiceReference1.IVirtualMachineManagementService" name="WSHttpBinding_IVirtualMachineManagementService">
<identity>
<serviceprincipalname value="host/win48.scvmmrc.ourcp.com">
prateekfgiet
3-Feb-12 6:38am
View
Sorry
this is the complete tag
<endpoint address="http://173.192.138.18/SCVMMService/VirtualMachineManagementService.svc"
="" binding="wsHttpBinding" bindingconfiguration="WSHttpBinding_IVirtualMachineManagementService" contract="ServiceReference1.IVirtualMachineManagementService" name="WSHttpBinding_IVirtualMachineManagementService">
<identity>
<serviceprincipalname value="host/win48.scvmmrc.ourcp.com">
prateekfgiet
3-Feb-12 6:35am
View
<endpoint address="http://173.192.138.18/SCVMMService/VirtualMachineManagementService.svc"
="" binding="wsHttpBinding" bindingconfiguration="WSHttpBinding_IVirtualMachineManagementService" contract="ServiceReference1.IVirtualMachineManagementService" name="WSHttpBinding_IVirtualMachineManagementService">
prateekfgiet
30-May-11 7:59am
View
well thanks dear for your help
:-)
prateekfgiet
30-May-11 7:45am
View
ok thanks
rahkan
:-)
prateekfgiet
30-May-11 7:20am
View
ok i have tested what you suggest.its working fine when i used AccountType both Place at textfield and valuefield.
wht should i do for cost???
any suggestion please
prateekfgiet
30-May-11 7:14am
View
i got his point,
5th,8th item have same cost value but 9th have different cost value.
same problem with many other index what have different text as well as cost.
prateekfgiet
30-May-11 7:06am
View
hv few items with same value but its not happen only with same value item.
prateekfgiet
30-May-11 6:56am
View
but the problem is, drop down text & value both are different at each item
prateekfgiet
30-May-11 6:53am
View
i have used watch,and same value shown there.
prateekfgiet
30-May-11 6:35am
View
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If IsPostBack = False Then
Dim SqlAdapter As New SqlDataAdapter("Select AccountType,Cost From Accounts Where IsAddOn=1 order by AccountType ", ConnectionString)
Dim SqlDataset As New DataSet
SqlAdapter.Fill(SqlDataset)
DropDownList1.DataSource = SqlDataset.Tables(0)
DropDownList1.DataTextField = "AccountType"
DropDownList1.DataValueField = "Cost"
DropDownList1.DataBind()
End If
End Sub
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
TextBox1.Text = DropDownList1.SelectedIndex
TextBox2.Text = DropDownList1.SelectedItem.Text
TextBox3.Text = DropDownList1.SelectedValue
End Sub
prateekfgiet
30-May-11 6:03am
View
yes page goes to post back.
actually i have 2 text box where i print selected value,seleted index on selection change event.
when i select 5th(or other) text box shows 2nd item n drop down list also shows 2nd item selected
prateekfgiet
30-May-11 5:42am
View
i m saying that whn i m selecting 5th its shows 2nd item selected same happen with 8th and 9th item
prateekfgiet
30-May-11 5:39am
View
i m not saying that i m selecting 2 or more value at time,while i m selecting 5th its shows 2nd item selected same happen with 8th and 9th item
prateekfgiet
30-May-11 5:38am
View
Deleted
whn i select 5th item it sows 2 item selected same happen with 8th and 9th value its not multi selection dropdown
prateekfgiet
17-Jan-11 10:10am
View
thanks its working but i put DG_sms.DataSource = ds.Tables["SmsContent"]; in the place of DG_sms.DataSource = ds.Tables[0];
prateekfgiet
17-Jan-11 10:10am
View
Deleted
thanks its working but i put
DG_sms.DataSource = ds.Tables["SmsContent"];
in the place of
DG_sms.DataSource = ds.Tables[0];
prateekfgiet
12-Jan-11 7:27am
View
it would not crash frame work it affects on previous version application
prateekfgiet
15-Dec-10 5:56am
View
i have accepted answer,and its resolved my issue.
Thanks again
prateekfgiet
15-Dec-10 5:33am
View
Thanks Brij its working fine.
prateekfgiet
30-Nov-10 5:38am
View
hiii,
i m agreed with ur suggestion but i want to show the exception at aspx page.
Show More