Error Login - WWC-41441
Just imported the SSO using ssoimp from existing system now I am unable to login at all. Just receive the following error message.
Error: You cannot login because an error occurred while retrieving the login URL. (WWC-41441)
Does any one know what is wrong and how to fix it??
for info. Portal 3.0.8 on Windows NT4. sso imported from portal3.0.8 on Windows 2000.
Sorry, I can't do that because I dropped the Portal and SSO schemas. The import I was trying to carry out was on a brand new Portal installation, so I figured I had nothing to lose by dropping the lot and starting again. I have rebuilt the portal now and I will try again shortly. I will detail the commands used and results obtained if any.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ravishankar Ramanathan ([email protected]):
Steve:
Can you post the result of the following query?
select * from wwsec_enabler_config_info$;
(I am curious as the export-import actions on login server objects do not touch this table)<HR></BLOCKQUOTE>
null
Similar Messages
-
Hi,
I have a Portal install with the following specifications:
OS - Sun Solaris 2.6
DB - 8.1.7.0.0
iAS - 1.0.2.2
Portal - 3.0.9.0.7
It was working fine. Then the initjvm.sql that installs the JVM
in the database was run. This was done as part of the steps
required for enabling the UTL_SMTP. The script ran without any
errors but after that Portal Login was failing with the following
error:
You cannot login because an error occurred while retrieving the
login URL. (WWC-41441)
and there were no Java classes present in the Portal or SSO
schema. To overcome this error I reloaded the SSOHash classes to
Portal and SSO schemas and ran ssodatan. The script ran
successfully and I was able to login to the Portal after that.
However, if I login as the administrator and try to create or
edit users from the Administer tab of Portal, the same error
occurs again:
You cannot login because an error occurred while retrieving the
login URL. (WWC-41441)
I can programmatically add users using the Security APIs.
The wwsec_enabler_config_info$ table of the Portal schema
contains one row but the wwsec_enabler_config_info$ table of the
SSO Schema contains no rows.
This install of Portal is hosting a number of applications and as
such running opca again is not an option.
Any workaround for this?
Thanks,
RupeshHi,
I ran ssodatan again and got the following error:
ERROR: Setting Login Server Partner App
ORA-06508: PL/SQL: could not find program unit being called
I then found out that the wwsec_sso_enabler_private in the SSO
schema is invalid and this was causing the above error. I tried
recompiling the package but got the following error:
Errors for PACKAGE BODY WWSEC_SSO_ENABLER_PRIVATE:
LINE/COL ERROR
151/6 PL/SQL: SQL Statement ignored
151/13 PLS-00320: the declaration of the type of this
expression is incomplete or malformed
151/20 PLS-00336: non-object-table "SECI" illegal in this
context
160/4 PL/SQL: SQL Statement ignored
643/6 PL/SQL: SQL Statement ignored
643/13 PLS-00320: the declaration of the type of this
expression is incomplete or malformed
643/20 PLS-00336: non-object-table "SECI" illegal in this
context
LINE/COL ERROR
651/4 PL/SQL: SQL Statement ignored
713/4 PL/SQL: SQL Statement ignored
713/50 PLS-00382: expression is of wrong type
745/3 PL/SQL: SQL Statement ignored
746/10 PLS-00389: table, view or alias name "ENBCONFIG" not
allowed in this context
The same package in the Portal schema is valid. Will an
export of this package from a working instance and an import into
the above instance solve this problem?
Thanks and Regards,
Rupesh -
How to resolve Error Message WWC-41400 with OID and Portal
Hello.
I followed the guidelines to use Oracle's OID as the login
server for my 9iAS-based Portal. The login names and passwords
were successfully copied from the Portal to the users.lfif file
(visible in Oracle Directory Manager).
I tested the login/passwords and could not login to the Portal.
I received the error message WWC-41400. I check past "tars",
and the followed the steps to check the library linkage,
external library file, status of the listner, and the
environment settings for the TNS names file.
The settings are correct, yet I still can not login to the
Portal.
Any suggestions.
JoyceHello Joyce
I think you should input cn=orcladmin during "Configuring Login
Server to use LDAP using DBMS_LDAP package" step with
ssooid.sql script in "Enter value for bind_dn:" field
wbr from Russia -
When first login in via the web page. When going to Configure menu and choosing CUCME to enter it manually, I get:
Error: Login to CUCME failed with the new values. Check the new CUCME configuration and enter the correct values.
hostname: 172.23.0.1
web user name: admin
web password: cisco
Sip gateway hostname: 172.23.0.1
ccn reporting historical
database local
description "se-172-23-0-2"
end reporting
ccn subsystem sip
gateway address "172.23.0.1"
mwi sip unsolicited
end subsystem
BR2-ROUTER#sh run
Building configuration...
Current configuration : 5264 bytes
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname BR2-ROUTER
boot-start-marker
boot-end-marker
card type t1 0 3
logging message-counter syslog
logging buffered 51200 warnings
no aaa new-model
clock timezone MST -7
clock summer-time MDT recurring
network-clock-participate wic 3
dot11 syslog
ip source-route
ip cef
ip dhcp excluded-address 172.21.0.1 172.21.0.49
ip dhcp excluded-address 172.21.0.59 172.21.0.254
ip dhcp excluded-address 172.20.0.1 172.20.0.10
ip dhcp pool CME
network 172.21.0.0 255.255.255.0
option 150 ip 172.21.0.1
default-router 172.21.0.1
ip dhcp pool LAPTOPS
network 172.20.0.0 255.255.255.0
default-router 172.20.0.2
dns-server 10.10.10.1
no ip domain lookup
ip domain name wilson.com
no ipv6 cef
multilink bundle-name authenticated
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h225-notify cid-update
sip
bind control source-interface GigabitEthernet0/0.20
bind media source-interface GigabitEthernet0/0.20
registrar server expires max 600 min 60
voice register global
mode cme
source-address 172.21.0.1 port 5060
max-dn 4
max-pool 4
authenticate register
timezone 12
time-format 24
date-format YY-M-D
voicemail 3600
tftp-path flash:
create profile sync 0021447056000116
ntp-server 174.137.67.50 mode directedbroadcast
voice register dn 1
number 3006
call-forward b2bua busy 3600
call-forward b2bua mailbox 3006
call-forward b2bua noan 3600 timeout 12
name rp-sip-1-16
label SIP 511-5016
mwi
voice register pool 1
id mac FCFB.FBCA.30CE
type 7965
number 1 dn 1
dtmf-relay rtp-nte
username 3006 password cisco
description 687-3006
codec g711ulaw
voice-card 0
username admin privilege 15 secret 5 $1$..D.$orbTsqgPSvNkMpfjjkg5q.
archive
log config
hidekeys
controller T1 0/3/0
cablelength long 0db
controller T1 0/3/1
cablelength long 0db
interface Loopback0
ip address 172.23.0.1 255.255.255.252
ip ospf network point-to-point
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
no ip address
duplex auto
speed auto
interface GigabitEthernet0/0.10
encapsulation dot1Q 10 native
ip address 172.20.0.2 255.255.255.0
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 172.21.0.1 255.255.255.0
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 172.22.0.1 255.255.255.0
interface GigabitEthernet0/1
ip address 192.168.1.138 255.255.252.0
duplex auto
speed auto
interface Integrated-Service-Engine1/0
ip unnumbered Loopback0
service-module ip address 172.23.0.2 255.255.255.252
service-module ip default-gateway 172.23.0.1
no keepalive
ip forward-protocol nd
ip route 172.23.0.2 255.255.255.255 Integrated-Service-Engine1/0
ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash:/gui
access-list 23 permit 10.10.10.0 0.0.0.7
nls resp-timeout 1
cpd cr-id 1
control-plane
ccm-manager fax protocol cisco
mgcp fax t38 ecm
dial-peer voice 3600 voip
destination-pattern 36..
session protocol sipv2
session target ipv4:192.168.1.144
dtmf-relay sip-notify
codec g711ulaw
no vad
sip-ua
retry invite 3
timers trying 400
mwi-server ipv4:192.168.1.144 expires 3600 port 5060 transport udp
gatekeeper
shutdown
telephony-service
no auto-reg-ephone
em logout 0:0 0:0 0:0
max-ephones 10
max-dn 10 no-reg both
ip source-address 172.23.0.1 port 2000
voicemail 3600
max-conferences 8 gain -6
call-forward pattern .T
web admin system name admin password cisco
dn-webedit
transfer-system full-consult
transfer-pattern .T
create cnf-files version-stamp Jan 01 2002 00:00:00
ephone-dn 1
number 3007
description 687-9898-3007
name Vatos locos
call-forward busy 3600
call-forward noan 3600 timeout 12
ephone-dn 2
number 3008
description 687-9898-3008
name Vatos locos2
call-forward busy 3600
call-forward noan 3600 timeout 12
ephone-dn 3 octo-line
number 3009
huntstop channel 6
ephone-dn 4
number 7999....
mwi on
ephone-dn 5
number 7998....
mwi off
ephone 1
device-security-mode none
description TESTTTTT
mac-address FCFB.FBCA.3406
max-calls-per-button 5
busy-trigger-per-button 4
type 7965
button 1:1 2:3
ephone 2
device-security-mode none
description TESTTTTT
mac-address FCFB.FBCA.3030
max-calls-per-button 4
busy-trigger-per-button 3
type 7965
button 1:2 2:3
line con 0
exec-timeout 0 0
logging synchronous
login local
line aux 0
line 66
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet
scheduler allocate 20000 1000
ntp server 174.137.67.50
end
BR2-ROUTER#
Apr 12 2011 16:23:12 gui/admin_user.js
122 585532 Mar 30 2011 05:48:46 phone/7975/cnu75.8-3-2-27.sbn
123 2453636 Mar 30 2011 05:48:56 phone/7975/cvm75sccp.8-3-2-27.sbn
124 326315 Mar 30 2011 05:48:58 phone/7975/dsp75.8-3-2-27.sbn
125 557786 Mar 30 2011 05:49:00 phone/7975/jar75sccp.8-3-2-27.sbn
126 638 Mar 30 2011 05:49:02 phone/7975/SCCP75.8-3-3S.loads
127 642 Mar 30 2011 05:49:02 phone/7975/term75.default.loads
128 0 Mar 30 2011 05:49:02 phone/7941-7961
129 2494499 Mar 30 2011 05:49:12 phone/7941-7961/apps41.8-3-2-27.sbn
130 547146 Mar 30 2011 05:49:16 phone/7941-7961/cnu41.8-3-2-27.sbn
131 2340 Apr 02 2011 03:55:02 April012011.txt
132 3579 Apr 12 2011 03:52:42 softkeyDefault_kpml.xml
133 69 Apr 12 2011 03:52:40 syncinfo.xml
134 2682 Apr 12 2011 03:52:42 SEPFCFBFBCA30CE.cnf.xml
135 1882 Apr 12 2011 03:52:42 SIPDefault.cnf
136 3613 Apr 12 2011 03:52:42 softkeyDefault.xml
137 3987 Apr 12 2011 16:23:10 gui/admin_user.html
138 1029 Apr 12 2011 16:23:14 gui/CiscoLogo.gif
139 617 Apr 12 2011 16:23:14 gui/CME_GUI_README.TXT
140 953 Apr 12 2011 16:23:14 gui/Delete.gif
141 16344 Apr 12 2011 16:23:14 gui/dom.js
142 864 Apr 12 2011 16:23:16 gui/downarrow.gif
143 6146 Apr 12 2011 16:23:16 gui/ephone_admin.html
144 4558 Apr 12 2011 16:23:16 gui/logohome.gif
145 3866 Apr 12 2011 16:23:16 gui/normal_user.html
146 78428 Apr 12 2011 16:23:18 gui/normal_user.js
147 1347 Apr 12 2011 16:23:18 gui/Plus.gif
148 843 Apr 12 2011 16:23:18 gui/sxiconad.gif
149 174 Apr 12 2011 16:23:18 gui/Tab.gif
150 2431 Apr 12 2011 16:23:20 gui/telephony_service.html
151 870 Apr 12 2011 16:23:20 gui/uparrow.gif
152 9968 Apr 12 2011 16:23:20 gui/xml-test.html
153 3412 Apr 12 2011 16:23:20 gui/xml.templateFixed. Routing issue:
Routing issue:
ip http access-class 23 !!!!!! Preconfigured from Factory
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash:/gui
access-list 23 permit 10.10.10.0 0.0.0.7 !!!!!! Preconfigured from Factory
To fix
No ip http access-class 23 -
I have 1 user on a Mac who just started having a pop up message when opening entourage "The server for my email acount returned the error "Login Failed".
Your username/password or security settings may be incorrect. Would
you like to try re-entering your password?" I know the settings are right because the users mail works on iPhone,iPad,an windows machine. I have deleted entourage plist and also tried a new user same message appears in new user.See thread here:
https://discussions.apple.com/message/23175721#23175721
It worked for me. -
How do i fix the error "Login Error. Please Contact the Admin." ?
When ever I try to log into the Adobe Story desktop app I get the error "Login Error. Please contact the Admin." and when ever I log into the web app all my content from before is gone! Please help me out here, I need to get the previous scripts before the end of the month!!!
I'm having this same problem. Since your question is unanswered from 2.5 years ago, I'm a bit concerned!
-
Error Login Message p6 V8.1 Web
I finish install p6 v8.1 web every thing is ok but when i try to login with user name and password i recieve this error
Login failed due to invalid database instance.
can any one try to helpAre you on Oracle, and not Sql Server? If so I would first guess that you may have invalid database objects. If you can query into your database, issue this command:
SELECT owner,
object_type,
object_name,
status
FROM dba_objects
WHERE status = 'INVALID'
ORDER BY owner, object_type, object_name;
If this returns results, then you will have to recompile those bad objects. For example if the above query tells you that PROJRSRC_VIEW is invalid, then issue this statement:
ALTER VIEW PROJRSRC_VIEW COMPILE;
If this is not the issue, let me know. There's a whole battery of steps to take to determine what could be going wrong.
I am also assuming that the connection to the database went fine as well.
Cheers,
Daniel -
Hey.. how are you everybody.. my problem is that i cant enter to my account twitter on my ipad.. in Osfoora hd, twitter for ipad and twitbird pro says me error login :S i dont know how to fix it. y update the apps but nothing.. i restore my ipad and nothing too, and i'll try to delete the apps and install it again and still nothing too.. always says Error of login or login error.. the only way that i can enter is for safari browser on the ipad but is so buggy :s help me please
I'm having the exact same problem.
Anyone knows what is happening? -
How do you fix Error: login keychain not found
How do you fix Error: login keychain not found
At some point, you reset your keychain to default in Keychain Access. That caused your login keychain to be renamed.
Back up all data.
In Keychain Access, delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.
In the Finder, select Go ▹ Go to Folder from the menu bar, copy the text on the line below into the box that opens, and press return:
~/Library/Keychains
A folder will open. Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login-renamed.keychain" to "login.keychain".
Back in Keychain Access, select File ▹ Add Keychain from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file you named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred. -
Urgent:Not able to login 11g EM console, Error "Login operation failed"
Hi Gurus,
I have Oralcle DB 11.1.0.7.0 setup on Solaris.
suddently the DB has gone down and i am not able to login to the Enterprise Manager console.
While login its giving the error "Login Operation Failed"
Please help me to ressolve this issue.
Thanks
KrishnaHere are the results of your commands:
HOME=/export/home/perfuser
LOGNAME=perfuser
MAIL=/var/mail//perfuser
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
PWD=/export/home/perfuser/app/perfuser/product/11.1.0/db_1/bin
SHELL=/bin/csh
SSH_CLIENT=10.159.44.193 1266 22
SSH_CONNECTION=10.159.44.193 1266 64.181.147.61 22
SSH_TTY=/dev/pts/5
TERM=xterm
TZ=US/Mountain
USER=perfuser
uid=884(perfuser) gid=268(ccuser)
LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 21-AUG-2010 11:50:57
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Message 1053 not found; No message file for product=network, facility=TNSTNS-12541: Message 12541 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00511: Message 511 not found; No message file for product=network, facility=TNS
Solaris Error: 146: Connection refused
LSNRCTL for Solaris: Version 11.1.0.7.0 - Production on 21-AUG-2010 11:51:09
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Message 1053 not found; No message file for product=network, facility=TNSTNS-12541: Message 12541 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00511: Message 511 not found; No message file for product=network, facility=TNS
Solaris Error: 146: Connection refused -
Adobe Muse publishing error / login
for 2 days now our website is down after making minor changes to it. We can't publish anymore? getting unkown error when trying to publish / login.... Business is down! What to do? Chris Heine Moodmasters The Netherlands
Not registerde....
Op 3 jul. 2013, om 13:17 heeft MOODMASTERS TV <[email protected]> het volgende geschreven:
Nope, unable to login to the admin panel anymore?
Login in on the billing account etc. works just fine...( picture )
<Schermafbeelding 2013-07-03 om 13.15.45.png>
Op 3 jul. 2013, om 13:05 heeft Sachin Hasija <[email protected]> het volgende geschreven:
>>
>> Re: Adobe Muse publishing error / login
>> created by Sachin Hasija in Adobe Muse Bugs - View the full discussion
>> Hello,
>>
>>
>> there seems no issues with the Id as far as I can see. It is already merged with your Adobe Id.
>>
>> Are you able to login to your website's admin panel : http://moodmaster.businesscatalyst.com/admin/Index.aspx without any errors?
>>
>> if yes, please try deleting the AdobeMuse folder from the location :
>>
>>
>> Windows 7: C:\Users\your_user_name\AppData\Roaming\
>>
>> Windows XP: C:\Documents and Settings\your_user_name\Application Data
>>
>> Mac: /Users/your_user_name/Library/Preferences/
>>
>>
>> After that please relaunch Adobe Muse and check if it allow you to Publish or not.
>>
>>
>> Regards,
>>
>> Sachin
>>
>> Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5472822#5472822
>> Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5472822#5472822
>> To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5472822#5472822. In the Actions box on the right, click the Stop Email Notifications link.
>> Start a new discussion in Adobe Muse Bugs by email or at Adobe Community
>> For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
Met vriendelijke groet
Chris Heine
www.moodmasters.tv
Mail me [email protected]
Call me +31(0)6-14777768
Almere ( filmwijk ) Holland
Move it: https://vimeo.com/59791946
Met vriendelijke groet
Chris Heine
www.moodmasters.tv
Mail me [email protected]
Call me +31(0)6-14777768
Almere ( filmwijk ) Holland
Move it: https://vimeo.com/59791946 -
Unhandled Exception Error - Login Failed for User
Hello,
I am receiving an error when I run my application stating “Unhandled exception has occurred. If you click continue, the application will ignore the error………..Login failed for MyUser.
When I click the Continue button the application runs and seems to work properly. This application used to run without receiving the error and I did not make any changes. I have another application that is using basically the exact same code and does not
receive the error. The only difference is the application is querying a different DB but using the exact same connection string. The error only occurs when I run the exe file created from the build. When I run (debug) the application from within the VS 2013
IDE I do not receive the error.
Here are the details to the error message:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.OleDb.OleDbException (0x80040E4D): Login failed for user 'jobrunner'.
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at LoanOrig_FDIC_Codes.DataSet1TableAdapters.I_LoansTableAdapter.Fill(I_LoansDataTable dataTable) in u:\Visual Studio Projects\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\DataSet1.Designer.cs:line 1668
at LoanOrig_FDIC_Codes.Form1.Form1_Load_1(Object sender, EventArgs e) in u:\Visual Studio Projects\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\Form1.cs:line 152
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
LoanOrig_FDIC_Codes
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///U:/Visual%20Studio%20Projects/LoanOrig_FDIC_Codes/LoanOrig_FDIC_Codes/LoanOrig_FDIC_Codes/bin/Debug/LoanOrig_FDIC_Codes.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
System.Data.DataSetExtensions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I'm not sure what the JIT debugger is but to my knowledge my other apps are not using that. The production username and password are correct in the connection string so I'm not clear why I am receiving this error especially since I'm not receiving the
error on my other application. I have also attached the code just in case it is needed. Any assistance will be greatly appreciated. Thank you.
Dave
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using ClosedXML.Excel;
using DocumentFormat.OpenXml;
using System.IO;
namespace LoanOrig_FDIC_Codes
public partial class Form1 : Form
SqlCommand sqlCmd;
SqlDataAdapter sqlDA;
DataSet sqlDS;
DataTable sqlDT;
SqlCommand sqlCmdCnt;
public Form1()
InitializeComponent();
//BEGIN BUTTON LOAD CLICK EVENT
private void btnLoad_Click(object sender, EventArgs e)
string sqlCon = "Data Source=FS-12345; Initial Catalog=ExtractGenerator; User ID=MyUser; Password=MyPW";
//Set the 2 dateTimePickers to today's date
DateTime @endDate = End_dateTimePicker.Value.Date;
DateTime @startDate = Start_dateTimePicker.Value.Date;
//Validate the values of the 2 dateTimePickers
if (endDate < startDate)
MessageBox.Show("End Date must be greater than or equal to the Start Date OR Start Date must be less than or equal to the End Date ", "Incorrect Date Selection",MessageBoxButtons.OK,MessageBoxIcon.Error);
//Reset both dateTimePickers to todays date
Start_dateTimePicker.Value = DateTime.Today;
End_dateTimePicker.Value = DateTime.Today;
return;
//End of date validation
string sqlData = @"SELECT AcctNbr,
CurrAcctStatCD,
Org,
MJAcctTypCD,
MIAcctTypCD,
NoteOriginalBalance,
ContractDate,
FDICCATCD,
FDICCATDESC,
PropType,
PropTypeDesc
FROM I_Loans
WHERE CAST(ContractDate AS datetime) BETWEEN @startdate AND @enddate ORDER BY ContractDate";
SqlConnection connection = new SqlConnection(sqlCon);
SqlCommand sqlCmd = new SqlCommand(sqlData, connection);
sqlCmd.Parameters.AddWithValue("@startDate", startDate);
sqlCmd.Parameters.AddWithValue("@endDate", endDate);
sqlDS = new DataSet();
sqlDA = new SqlDataAdapter(sqlCmd); //SqlAdapter acts as a bridge between the DataSet and SQL Server for retrieving the data
connection.Open();
sqlDA.SelectCommand = sqlCmd; //SqlAdapter uses the SelectCommand property to get the SQL statement used to retrieve the records from the table
sqlDA.Fill(sqlDS, "I_Loans"); //SqlAdapter uses the "Fill" method so that the DataSet will match the data in the SQL table
sqlDT = sqlDS.Tables["I_Loans"];
//Code section to get record count
sqlCmdCnt = connection.CreateCommand();
sqlCmdCnt.CommandText = "SELECT COUNT(AcctNbr) AS myCnt FROM I_Loans WHERE ContractDate BETWEEN @startDate AND @endDate";
sqlCmdCnt.Parameters.AddWithValue("@startDate", startDate);
sqlCmdCnt.Parameters.AddWithValue("@endDate", endDate);
int recCnt = (int)sqlCmdCnt.ExecuteScalar();
txtRecCnt.Text = recCnt.ToString();
btnExport.Enabled = true;
//End of code section for record count
connection.Close();
dataGridView1.DataSource = sqlDS.Tables["I_Loans"];
dataGridView1.ReadOnly = true;
//Reset both dateTimePickers to todays date
Start_dateTimePicker.Value = DateTime.Today;
End_dateTimePicker.Value = DateTime.Today;
//END BUTTON LOAD CLICK EVENT
//BEGIN BUTTON EXPORT CLICK EVENT
private void btnExport_Click(object sender, EventArgs e)
SaveFileDialog saveFD = new SaveFileDialog();
{ //ClosedXML code to export datagrid result set to Excel
string dirInfo = Path.GetPathRoot(@"\\FS-03250\users\dyoung\LoanOrig_FDIC_Codes");
if (Directory.Exists(dirInfo))
var wb = new XLWorkbook();
var ws = wb.Worksheets.Add(sqlDT);
ws.Tables.First().ShowAutoFilter = false;
//SaveFileDialog saveFD = new SaveFileDialog(); //I moved this variable to the top of the btnExport code block so that the variable will be available thru the entire scope of that code block
saveFD.Title = "Save As";
saveFD.Filter = "Excel File (*.xlsx)| *.xlsx";
saveFD.FileName = "LoanOrig_FDIC_Codes_" + DateTime.Now.ToString("yyyy-MM-dd");
if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
Stream stream = saveFD.OpenFile();
wb.SaveAs(stream);
stream.Close();
else if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.Cancel)
MessageBox.Show("Save file operation has been canceled", "Save As Canceled", MessageBoxButtons.OK, MessageBoxIcon.Stop);
return;
//End of ClosedXML code
MessageBox.Show("File has been exported to " + saveFD.FileName, "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
//MessageBox.Show("File has been exported to U:\\LoanOrig_FDIC_Codes", "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
else
MessageBox.Show("Drive " + saveFD.FileName + " " + "not found, not accessible, or you may have invalid permissions");
//MessageBox.Show("Drive " + "U:\\Visual Studio Projects\\LoanOrig_FDIC_Codes" + " " + "not found, not accessible, or you may have invalid permissions");
return;
//END THE SAVE AS PROCESS
//END BUTTON EXPORT CLICK EVENT
private void Form1_Load(object sender, EventArgs e)
//Set dates to be today's date when the form is openend
Start_dateTimePicker.Value = DateTime.Today;
End_dateTimePicker.Value = DateTime.Today;
private void Form1_Load_1(object sender, EventArgs e)
// TODO: This line of code loads data into the 'dataSet1.I_Loans' table. You can move, or remove it, as needed.
this.i_LoansTableAdapter.Fill(this.dataSet1.I_Loans);
private void iLoansBindingSource_CurrentChanged(object sender, EventArgs e)
private void btnExit_Click(object sender, EventArgs e)
this.Close();
David YoungIn SQL you have a login which allows access to the server but you must also have permissions to access each database that you will use (including Master). So I would verify that your user also has the necessary permissions on the database itself and
not just the SQL instance. The error you're getting is from SQL saying that the user doesn't have permissions. If it works for 1 DB but not the other on the same SQL instance then it is likely a missing permission on the DB itself.
I should note that you have a hard coded conn string in your code but the error is for a different user. I'm assuming that you simply posted it there for convenience and that you changed the values to obscure the data. If you are actually getting
the info from your config file then verify the connection string is correct. Also be sure to not use Integrated Security since it appears that you are using SQL authentication. -
CUE 8.6.10 error "login as administrator failed" message
Hi guys,
i have a new router with CUE 8.6.10 am trying to run the wizard and an error appears " "login as administrator failed"
the username and password is 100% correct also the below commands exists in my configuration
ip http server
ip http authentication local
ip http secure-server
ip http path flash:
telephony-service
"web admin system name admin password xxxx
dn-webedit
time-webedit
i tried a lot of things with no luck
Note GUI files exists on the router flashThe stuff under telephony-service is for CME, not for CUE
Create a normal user (username test123 privilege 15 secret test123) use this account to login to the CLI of CUE (service-module isM 0/0 session)
Then create an administrative user and use this one to login to the CUE GUI -
Hi All,
Here the linked server is created between sql server 2012 64 bit and sql server 2005 32 bit. I am getting the below error when i try to access linked server from third server. I have created linked from Instance 1 to Instance 2. When i access it from
instance 3 i am getting the below error. SPN setting has been done between these 2 servers. Also the option 'Trust the delegate' is enabled for the both the service account.
'Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
Appreciate your quick response.
Vikas.M.SHello,
Please read the following resources:
http://www.databasejournal.com/features/mssql/article.php/3696506/Setting-Up-Delegation-for-Linked-Servers.htm
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ea26de43-4c6b-4991-86d7-e1578f107c92/linked-server-login-failed-for-user-nt-authorityanonymous-logon?forum=sqldataaccess
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
JSF Deployment error - login.faces not available
I am new to JSF and am having deploying my first example JSF pages in Eclipse on default Tomcat (6.x).
I feel I have done everything stated in the tutorial http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html (I did not repeat the step by step instructions in the tutorial - instead, used these instructions to create my own pages / logic). However, I still get the following error:
HTTP Status 404 - /reportwriter/pages/login.faces
type Status report
message /reportwriter/pages/login.faces
description The requested resource (/reportwriter/pages/login.faces) is not available.
Here is my directory structure:
reportwriter
- src
- LoginBean
- LoginServer.java
- Resources.properties
- js
- html
- images
- pages
- login.jsp
- webRoot
- WEB-INF
- lib
- faces-config.xml
- web.xml
- index.jsp with a one line jsp forward to pages/login.faces
here is my faces-config.xml
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<application>
<message-bundle>LoginBean.Resources</message-bundle>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>en-us</supported-locale>
<supported-locale>fr</supported-locale>
<supported-locale>es</supported-locale>
</locale-config>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
<navigation-rule>
<from-view-id>/pages/login.jsp</from-view-id>
<navigation-case>
<description>Handle case for successful login</description>
<from-action>#{loginServer.loginAction}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>/pages/task.jsp</to-view-id>
</navigation-case>
<navigation-case>
<description>Handle case for unsuccessful login</description>
<from-action>#{loginServer.loginAction}</from-action>
<from-outcome>failure</from-outcome>
<to-view-id>/pages/failure.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/pages/success.jsp</from-view-id>
<navigation-case>
<from-outcome>return</from-outcome>
<to-view-id>/pages/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/pages/failure.jsp</from-view-id>
<navigation-case>
<from-outcome>return</from-outcome>
<to-view-id>/pages/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>loginServer</managed-bean-name>
<managed-bean-class>LoginBean.LoginServer</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>
and here is web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
</web-app>
Can you think what I may be missing here to get the login.faces not available error?
One hint I have is - if I do not set a jsp forward line in the index.jsp file, I get the server deployment for the index.jsp file OK. But not when I have the forward from index.jsp to /pages/login.faces
I also tried setting the context in tomcat server.xml file as follows:
<Context debug="0"
docBase="C:/evsapi/ReportWriter/reportwriter/WebRoot"
path="/LoginBean" reloadable="true"/>
Still no use.
Please help!
Edited by: tipseeker on Dec 1, 2008 3:51 PMtipseeker wrote:
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
I highly recommend your to stop with this and restart with JSF 1.2 instead. JSF 1.0 is legacy and may have still some nasty bugs. You may find this JSF 1.2 / Eclipse 3.4 / Tomcat 6.0 startup tutorial useful as well: [http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html]
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>There's the root cause of the problem, I think. Why did you add this? Are you using JSP or Facelets? This configuration is typical for Facelets, but in your remaining code I only see JSP's being mentioned.
Maybe you are looking for
-
BUG: "Save As" dialog is not showing
sometimes i have the problem (since CC) that the SAVE AS dialog is not showing. the window does not show when i select SAVE AS. SAVE works.. but i often want to save a new version without overwriting the old. i don´t know why it happens but it seems
-
Porting logic sessions between studios
Hi, I work with Logic Pro 7 at my home studio along with the studio at my workplace. I'm trying to figure out how to take session files back and forth between the two without having issues of missing audio instrument files, etc. btw, both studios hav
-
Hello, Two weeks ago I installed a new Xserve running Mac OS X Leopard server 10.5.2. This machine runs FileMaker Pro Server v9 and MYOB File Connect. No file sharing users or any other services. The problem: the Administrator login from on the Xserv
-
Pacman local database recovery
Hi, So my pacman database @ /var/lib/pacman/local has been killed, it's probably my fault but pacman-cage certainly didn't help Anyway, if i use the recovery method outlined here: https://wiki.archlinux.org/index.php/Pa - l_database will I be screwed
-
Setting alerts in SRM when SRM can't communicate with XI
Hi, We've configured our SRM system to send XML PO output data to selected vendors via XI. This process works fine 'most' of the time. Recently the SRM system started encountering connection problems with the XI server in that it encounters a timeout